xcrun

Distribute ipa to iTunes connect from command line

风格不统一 提交于 2019-12-04 10:32:49
I have several iPhone apps, and I've set out to do away with as much of the clicking around on iTunes connect that I have to do. One thing that I'd like to do is be able to upload an ipa to iTunes connect through the command line. How To Perform iOS App Validation From the Command Line This post suggests xcrun -sdk iphoneos Validation -online -upload /path/to/ipa Which almost works, but will fail validation because it tries to hit the first app in iTunes connect, which has a different bundle identifier than the one I'm uploading. So I tried it without validaiton (remove the -online flag) xcrun

Can't generate release build for Cordova iOS App

不打扰是莪最后的温柔 提交于 2019-12-04 08:05:27
问题 I am using Phonegap CLI 3.1 and XCode5 . I want to generate the release build for iPhone Application through command line, I have valid distribution certificate and mobile provisioning profile . I want to generate the release build totally through command and don't want to use XCode GUI or Phonegap Build. I have tried too much with xcodebuild, xcrun and even corodva build command but none of them provide me the release build file (either in .app format or .ipa). Method 1 (Use xcodebuild) a)

git push xcrun: error: active developer path does not exist

走远了吗. 提交于 2019-12-03 04:57:51
i recently deleted xcode 6 beta 3 and installed xcode 6 beta 6 when i entered gitpush in the terminal this happened xcrun: error: active developer path ("/Applications/Xcode6-Beta3.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select ) Try pasting this in the terminal : sudo xcode-select -switch /Applications/Xcode-Beta.app It will update the path , for the new Xcode name. Another alternative is just changing the app name back to Xcode, this, of course,

OSX 10.8 xcrun (No such file or directory)

99封情书 提交于 2019-12-03 04:42:36
问题 When executing gem install jekyll on OSX 10.8 with the standalone Command Line Tools package from Apple's Developer site installed (no Xcode), i run into the following error: Building native extensions. This could take a while... ERROR: Error installing jekyll: ERROR: Failed to build gem native extension. … xcrun cc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8

Can't generate release build for Cordova iOS App

落花浮王杯 提交于 2019-12-02 19:35:06
I am using Phonegap CLI 3.1 and XCode5 . I want to generate the release build for iPhone Application through command line, I have valid distribution certificate and mobile provisioning profile . I want to generate the release build totally through command and don't want to use XCode GUI or Phonegap Build. I have tried too much with xcodebuild, xcrun and even corodva build command but none of them provide me the release build file (either in .app format or .ipa). Method 1 (Use xcodebuild) a) xcodebuild -project MyApp.xcodeproj -alltargets -sdk iphoneos7.0 PROVISIONING_PROFILE="PROFILE_UUID

OSX 10.8 xcrun (No such file or directory)

让人想犯罪 __ 提交于 2019-12-02 17:09:11
When executing gem install jekyll on OSX 10.8 with the standalone Command Line Tools package from Apple's Developer site installed (no Xcode), i run into the following error: Building native extensions. This could take a while... ERROR: Error installing jekyll: ERROR: Failed to build gem native extension. … xcrun cc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe

xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist

こ雲淡風輕ζ 提交于 2019-12-02 14:24:58
I'm having xcode issues when I try to use brew and git: xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select ) I can type xcode-select and it shows that the command exists. When I type xcode-select -p it shows: /Applications/Xcode.app/Contents/Developer but when I do which xcode-select , it gives me: /usr/bin/xcode-select I've tried to use the command switch and install again via Apple Developer site but

Apps manually installed in simulator crashes upon load

不问归期 提交于 2019-11-30 17:34:37
I'm installing MyApp on the iOS simulator (Xcode 7, iOS 9) using xcrun simctl install booted MyPath/MyApp.app . This works as expected and the app is installed on the simulator. However, launching the app either manually or using xcrun simctl launch booted com.company.MyApp fails. Giving back the error: An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1): The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.) The app is exported from Xcode (note that running the app from Xcode or re-building the app from its source code is not a

How to specify app id when upload to iTunesConnect using command line

拈花ヽ惹草 提交于 2019-11-30 15:23:16
Summary I`m trying to automatize my applications upload to iTunesConnect. I have at least 6 apps and all are always "ready to upload". The problem is when I try to upload an app to iTunesConnect using command line, I have the following error message: "warning: There are more that one application pre-configured in iTunesConnect. Only the first will be used.". Questions How can I know what is the first? Is there a way to set the first? Is there a way to specify which app I am trying to submit? How I am doing it? Build Script... xcodebuild -target $TARGETNAME -configuration Release -sdk iphoneos

Failed to generate release build of cordova ios app

北慕城南 提交于 2019-11-30 14:39:36
I am using phonegap CLI 3.1 and XCode5. I am trying to generate the build for release mode through Phonegap CLI and Xcrun. I don't want to use Phonegap Build to upload the mobileprovision or whatever the process of them. I want to do it by xcrun to assign the mobileprovison to release build. 1) cordova build ios --release Compiling app on platform "ios" via command "/Applications/MAMP/htdocs/MyTest/MyTestApp/platforms/ios/cordova/build" --release Platform "ios" compiled successfully. 2) sudo xcrun -sdk iphoneos PackageApplication -v "ios/build/emulator/MyTestApp.app" -o "/Users/mymac/Desktop