Home > Software design >  Xcode - Project build and run, but i can no archive
Xcode - Project build and run, but i can no archive

Time:02-19

When I open Runner.xcworkspace I can build and run project.

When I open Runner.xcodeproj and I build project I have error: Module 'connectivity' not found.

I must update version app in app store but i can't click Product > Archive

CodePudding user response:

You need to open Runner.xcworkspace and click Product > Archive

CodePudding user response:

In order to "archive" your product, you have to connect a real device to your computer. Xcode needs a real device to compile the archive. After connecting a real device (iPhone, iPad) the "grayed out" menu option "Archive" will be no longer grayed out.

  • Related