简体   繁体   中英

Xcode - Project build and run, but i can no archive

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM