xcodebuild

xcodebuild - setting build dir doesn't generate dSYM

只谈情不闲聊 提交于 2019-12-04 17:25:50
问题 I am doing an archive with xcodebuild (xcode 5) through the command line as so: xcodebuild -project MyProject.xcodeproj -scheme MyScheme -sdk iphoneos7.0 -configuration Release archive CODE_SIGN_IDENTITY="iPhone Distribution: My ID" -archivePath archive/MyArchive.xcarchive -xcconfig Config/MyReleaseConfig.xcconfig CONFIGURATION_BUILD_DIR=$SRCROOT/build/$CONFIGURATION$EFFECTIVE_PLATFORM_NAME When I run this, I get my xcarchive generated and console output seems ok. However, when I explore the

When I “Build for archive” in Xcode 4, where does the file go?

拜拜、爱过 提交于 2019-12-04 16:11:04
问题 When I "Build for archive" in Xcode 4, where does the file go? As in, where on my computer is the archived app saved? Thanks 回答1: It depends on your build location goes (see Xcode > Preferences ... > Locations). Note that "Build for Archive" doesn't archive your work in the "Archive Location" you enter there ... it just builds it as if it was being archived (so with the same pre/post-scripts being run, the right Configuration, and in your normal building location). To actually archive your

Can't build XCode 4 Project from Textmate

有些话、适合烂在心里 提交于 2019-12-04 13:30:05
问题 I've opened a newly created XCode 4 project in TextMate (by dropping the project folder on the TextMate icon like the manual suggests) and have attempted to build it using the Command-B shortcut and selecting 2 for an XCode build. I get the following error xcodebuild: error: invalid option '-activebuildstyle' Usage: xcodebuild [-project <projectname>] [[-target <targetname>]...|-alltargets] [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [

Start Integration of Xcode Bot manually?

本小妞迷上赌 提交于 2019-12-04 12:36:42
问题 I was watching WWDC 2014 "Continuous Integration with Xcode" Video and it looks great how the bots can be used to run test. But my question is to anyone who has seen the video, when he sends message to Jeeves saying " integrate CoffeeBoard ".Bot starts to integrate. I want to know how he did that. I want to add post-receive hook on github which on receiving any commit should start Xcode bot on my OS X Server. Most of my team members use SourceTree or GitHub to manage their git and they don't

ERROR ITMS-90046 using xctool / xcodebuild vs XCode Archive's success

落花浮王杯 提交于 2019-12-04 11:29:59
I've got a command line script I use to compile, archive and submit my ios builds to ITC for TestFlight deployment. They work great, but I recently ran into an issue when trying to use an embedded framework within my otherwise working project. My script compiles and archives the project successfully but is getting ITC signing errors because of the embedded binary conflict. xctool -workspace $BASE_DIR/$PROJECT_NAME -scheme $SCHEME -configuration $CONFIG clean archive -archivePath ./$PRODUCT_NAME.xcarchive xcodebuild -exportArchive -archivePath ./$PRODUCT_NAME.xcarchive -exportPath $PRODUCT_NAME

Default property value with closure makes a compiler to recompile all files

白昼怎懂夜的黑 提交于 2019-12-04 11:09:56
问题 This source has a paragraph Setting a Default Property Value with a Closure or Function where we can find an example Here’s a skeleton outline of how a closure can be used to provide a default property value: class SomeClass { let someProperty: SomeType = { // create a default value for someProperty inside this closure // someValue must be of the same type as SomeType return someValue }() } Well, I use it very often... Also, I often wait for the whole project to recompile after changing just

Converting a xcodeproj in-app purchase to a pkg file from terminal (Bash) or how to convert a xcarchive file to a pkg file?

送分小仙女□ 提交于 2019-12-04 09:43:53
问题 I am trying to create a bash script to automate the creation of in-app purchase pkg files. I am at a point that the script creates successfully all in-app purchase xcodeproj projects and then archive them using this command xcodebuild -scheme $nameOfProject archive $nameOfProject is a variable that holds, inside a loop, the name of the xcodeproj file correspondent to the in-app purchase. After doing this, I have to open the archive part of Xcode and manually export all archives to create the

Signing app with xcodebuild command line with PROVISIONING_PROFILE fails

一世执手 提交于 2019-12-04 08:06:12
I trying to sign my app command line using Xcode. Running xcodebuild command-line on MyApp.xcodeproj like so : xcodebuild -project "MyApp.xcodeproj" -target "MyApp" -sdk "iphoneos" -configuration *Release* PROVISIONING_PROFILE="xxxx-xxxx-xxxx-xxxx" CODE_SIGN_IDENTITY="iPhone Developer: something.com (SOMEVALUE)" Gives following error: Check dependencies Provisioning profile "iOS Team Provisioning Profile: *" doesn't include signing certificate "iPhone Developer: something.com (SOMEVALUE)". Provisioning profile "iOS Team Provisioning Profile: *" is Xcode managed, but signing settings require a

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)

xcodebuild fails to build from terminal but succeeded from xcode

孤人 提交于 2019-12-04 07:46:15
I'm trying to build a framework using xcode 6-beta 3 when compiling it using xcode it works but when compiling it from a terminal with the command: xcodebuild -project <projName> -scheme <schemeName> -configuration Debug clean build I'm getting the following error CodeSign error: entitlements are required for product type 'Framework' in SDK 'Simulator - iOS 8.0'. Your Xcode installation may be damaged. and the build fails to complete. at the end of the log it says The following build commands failed: PhaseScriptExecution Run\ Script build/myProj.build/Debug-iphoneos/myScheme.build/Script