The real machine can only run. IPA packages
Only run. App package on simulator
The build. App package step in Xcode:
- Start Xcode IDE, open Gigold source project
- "Project"--"gigold"--"Basic": Modify valid architectures, add "i386" option
- Click the "Run" button in the upper left corner of Xcode to start the build
- Left navigation tree: Select "Gigold"--"products"--"Gigold.app", the right side of the property panel to copy "full Path", such as:/users/dengqingyong/library/developer/xcode/ Deriveddata/gigold-bcwiezmwbqgaipeqxirfkvptmyqb/build/products/debug-iphoneos/gigold.app
See if this path exists, and if it does not, replace "Debug-iphoneos" with "Debug-iphonesimulator", that is, go to/users/dengqingyong/library/developer/xcode/ Find the Gigold.app package under the Deriveddata/gigold-bcwiezmwbqgaipeqxirfkvptmyqb/build/products/debug-iphonesimulator path.
The Xcode command line can also be used to hit the app suffix package, but with command lines, you need to handle dependencies, often error, there is no workaround, before the solution, using the Xcode IDE to package.
Run the package with the Xcode build build simulator