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.