Xcode build bug

Hello everyboby!!

Each Time l exporte a projet from Codea to Xcode, and l try to build it, Xcode fail to build with « missing package product ‘Runtime’ »
And -Package resulution errors must be fixed before building -

Master Codea and Xcaide version…

Someone could help me??

Thanks!!!

Thanks for raising this. Looks like we forgot to tag the release on Github. Can you try again?

Hi Sim,

Thank you for you very Quick reply!!!
A few hours After my message, AppStore propose Me an update off Codea and now it s work…But…

When Xcode build, the application and the simulator open, the first page of my application is displayed but the text is different and when I touch the screen, nothing happens… it’s the same when I put it on my iPhone… do you have a tip for this bug?

Thank you for your help!

OK we have a fix for this bug. Can you please make some changes to your Xcode project for me:

  1. Click the blue project icon at the top of the Xcode navigator. This will have your exported project name, e.g., “YourProject”. In my example screenshot here the exported project is called Connections
  2. Under the section “Dependency Rule” you will see it is set to “exact version”. Change this to “branch” and enter the value “main” for the branch name
  3. You should see Runtime in the Package Dependencies list update to say Runtime main (17e37e8)
  4. Now open YourProjectViewController.swift (in my screenshot, ConnectionsViewController.swift) and add the following line CodeaStandardLibrary() into the list of addons:

Your project should run now. We’ll fix this in the export functionality for Codea 3.13.2

Perfect!! It s work perfectly

Thank you!!!

1 Like