xcodebuild

Xcode 9 - Xcodebuild error - UI tests not running, Timed out waiting for AX loaded notification

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-10 04:12:46
问题 My tests do not start executing, and always timeout every time I try to use an xcodebuild command. The command that I used is the following: xcodebuild -workspace App.xcworkspace -scheme 'AppName' -sdk iphonesimulator -configuration 'UI_Automation' CODE_SIGN_STYLE='Manual' CODE_SIGN_IDENTITY='iPhone Developer: John Smith (XXXXXXXX)' PROVISIONING_PROFILE_SPECIFIER='John Smith PP Name' DEVELOPMENT_TEAM='ABC Company Apple DEV' -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2'

Xcode 9 - Xcodebuild error - UI tests not running, Timed out waiting for AX loaded notification

耗尽温柔 提交于 2021-02-10 04:11:57
问题 My tests do not start executing, and always timeout every time I try to use an xcodebuild command. The command that I used is the following: xcodebuild -workspace App.xcworkspace -scheme 'AppName' -sdk iphonesimulator -configuration 'UI_Automation' CODE_SIGN_STYLE='Manual' CODE_SIGN_IDENTITY='iPhone Developer: John Smith (XXXXXXXX)' PROVISIONING_PROFILE_SPECIFIER='John Smith PP Name' DEVELOPMENT_TEAM='ABC Company Apple DEV' -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2'

Invalid deployment target for -stdlib=libc++ on OSX 10.8

筅森魡賤 提交于 2021-02-07 14:36:34
问题 I am compiling through node-gyp a Node.JS package written in C++. When I compile it I receive the following error: clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later) . I'm running on OSX 10.8, and I have installed the XCode Command Line Tools. This is the file used by node-gyp to compile the package: { "targets": [ { "target_name": "package_name", 'type': 'executable', 'xcode_settings': { 'OTHER_CFLAGS': [ "-std=c++11", "-stdlib=libc++" ], }, "sources": [

Xcode 9 Server exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}

谁说我不能喝 提交于 2021-02-07 12:29:44
问题 I upgraded to Xcode 9 Server recently and discovered a sudden problem. There were several other problems i had until i came to this error. I changed from automatic signing to manual singing back and forth. Now in my iOS project i've set it manually and on the server i tried both. The build is successful and it produces an archive (i can't download it though), but it also gives me the error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of

Xcode 9 Server exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of {Development, Production}

为君一笑 提交于 2021-02-07 12:29:19
问题 I upgraded to Xcode 9 Server recently and discovered a sudden problem. There were several other problems i had until i came to this error. I changed from automatic signing to manual singing back and forth. Now in my iOS project i've set it manually and on the server i tried both. The build is successful and it produces an archive (i can't download it though), but it also gives me the error: exportArchive: exportOptionsPlist error for key 'iCloudContainerEnvironment': expected one of

How to show the xcodebuild command line from xcode?

社会主义新天地 提交于 2021-02-07 12:07:38
问题 I'm trying to build a working simulator build from xcodebuild. Compilation works but the final product won't run on the simulator when installed via WaxSim. If I build through the Xcode GUI then the final product installs without issue from WaxSim. My question is, how can I see the exact xcodebuild command line that xcode is using to build a working simulator build. I just need to copy that into my shell script but it's proving elusive. I did a find in the build logs from xcode but there's no

How do I sign an unsigned IPA?

江枫思渺然 提交于 2021-02-07 03:53:28
问题 I have generated an IPA file unsigned with xcodebuild utility and now my customer want to sign it. It is possible to sign it with an existing provisioning file generated with a developer account? Another question, it is possible to use a command line related to xcode to do this? 回答1: An IPA is simply a .zip archive. Here is a example script to get the idea IPA=$1 PROVISION="/path/to/nameOfProfile.mobileprovision" CERTIFICATE="iPhone Developer: nameOfCertificate (2472ZKDHVF2A)" # must exist in

How do I sign an unsigned IPA?

≡放荡痞女 提交于 2021-02-07 03:53:19
问题 I have generated an IPA file unsigned with xcodebuild utility and now my customer want to sign it. It is possible to sign it with an existing provisioning file generated with a developer account? Another question, it is possible to use a command line related to xcode to do this? 回答1: An IPA is simply a .zip archive. Here is a example script to get the idea IPA=$1 PROVISION="/path/to/nameOfProfile.mobileprovision" CERTIFICATE="iPhone Developer: nameOfCertificate (2472ZKDHVF2A)" # must exist in

How do I sign an unsigned IPA?

时间秒杀一切 提交于 2021-02-07 03:52:18
问题 I have generated an IPA file unsigned with xcodebuild utility and now my customer want to sign it. It is possible to sign it with an existing provisioning file generated with a developer account? Another question, it is possible to use a command line related to xcode to do this? 回答1: An IPA is simply a .zip archive. Here is a example script to get the idea IPA=$1 PROVISION="/path/to/nameOfProfile.mobileprovision" CERTIFICATE="iPhone Developer: nameOfCertificate (2472ZKDHVF2A)" # must exist in

error: module was created for incompatible target arm64-apple-ios8.0

瘦欲@ 提交于 2021-01-28 02:23:42
问题 There is a website called Appetize that needs an .app bundle (a iOS Simulator build of your app) for displaying your app in a online simulator. Here is the guide of the app bundle required: https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io This is the command for generating the .app bundle: xcodebuild -sdk iphonesimulator -workspace Project.xcworkspace -scheme Appetize -configuration Debug When you press the Build & Run button in Xcode and open the app in a Simulator, it