xcodebuild

Terminal stalling on every command due to Xcodebuild

拈花ヽ惹草 提交于 2021-01-28 00:42:13
问题 I just updated Xcode to 11.4 and suddenly my terminal (iTerm 3.3.9) is now very slow. Typing a command works fine, but upon pressing enter I often wait 3-4 seconds to perform a simple task ( cd , git add , etc). When I look at the status bar I notice that xcodebuild is running during the time while I am waiting. I'm assuming that the new Xcode update did something that makes this process longer or needs a setting updated somewhere. I have already tried sudo xcodebuild -license accept and that

How to make xcodebuild print compile errors and warnings to stderr?

与世无争的帅哥 提交于 2021-01-27 22:36:18
问题 Seems like xcodebuild prints everything to stdout. $ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project test.xcodeproj build -target test -configuration Debug -jobs 3 2>err # xcodebuild stdout with bunch of warnings and errors $ cat err ** BUILD FAILED ** The following build commands failed: CompileC _build/test.build/Objects-normal/x86_64/test.o /Users/me/test/test.cpp normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) That doesn't let my

XCFramework issue, A library with the identifier “ios-armv7_arm64” already exists

元气小坏坏 提交于 2021-01-27 06:51:07
问题 While creating XCFramework, I'm getting the below-mentioned message on the terminal and xcframework is not getting generated A library with the identifier "ios-armv7_arm64" already exists. This is the command that I'm running xcodebuild -create-xcframework \ -framework ./archives/My-iOS.xcarchive/Products/Library/Frameworks/My.framework \ -framework ./archives/My-iOS-Simulator.xcarchive/Products/Library/Frameworks/My.framework \ -output My.xcframework Is there anything that I'm missing? 回答1:

XCFramework issue, A library with the identifier “ios-armv7_arm64” already exists

蹲街弑〆低调 提交于 2021-01-27 06:50:43
问题 While creating XCFramework, I'm getting the below-mentioned message on the terminal and xcframework is not getting generated A library with the identifier "ios-armv7_arm64" already exists. This is the command that I'm running xcodebuild -create-xcframework \ -framework ./archives/My-iOS.xcarchive/Products/Library/Frameworks/My.framework \ -framework ./archives/My-iOS-Simulator.xcarchive/Products/Library/Frameworks/My.framework \ -output My.xcframework Is there anything that I'm missing? 回答1:

Passing arguments to iOS tests with xcodebuild

时光毁灭记忆、已成空白 提交于 2021-01-20 19:38:23
问题 I'd like to pass command line arguments to my iOS tests through the command line (xcodebuild). I'm looking for the equivalent of this setting on XCode: Simply passing the argument to xcodebuild doesn't work, e.g.: xcodebuild -verbose test -workspace theworkspace.xcworkspace -scheme 'thescheme' -destination 'platform=iOS Simulator,name=iPhone 7' --argument=value This question is similar to xcodebuild pass arguments to application on iOS but the solution to that question is not satisfactory.

Passing arguments to iOS tests with xcodebuild

£可爱£侵袭症+ 提交于 2021-01-20 19:36:20
问题 I'd like to pass command line arguments to my iOS tests through the command line (xcodebuild). I'm looking for the equivalent of this setting on XCode: Simply passing the argument to xcodebuild doesn't work, e.g.: xcodebuild -verbose test -workspace theworkspace.xcworkspace -scheme 'thescheme' -destination 'platform=iOS Simulator,name=iPhone 7' --argument=value This question is similar to xcodebuild pass arguments to application on iOS but the solution to that question is not satisfactory.

Xcodebuild - Skip Finished requesting crash reports. Continuing with testing

廉价感情. 提交于 2021-01-20 18:57:40
问题 I'm running a CI machine with the Xcode. The tests are triggered using fastlane gym . I see this line in the output: 2019-05-27 16:04:28.417 xcodebuild[54605:1482269] [MT] IDETestOperationsObserverDebug: (A72DBEA3-D13E-487E-9D04-5600243FF617) Finished requesting crash reports. Continuing with testing. This operation takes some time (about a minute) to complete. As far, as I understand, the Xcode requests crash reports from Apple to show in the "Organizer" window. Since this is a CI machine,

Github Actions: xcodebuild fails due to server fingerprint

人走茶凉 提交于 2020-12-26 06:33:52
问题 I am trying to build a macOS app with Github Actions. This already worked very well, until I migrated my dependencies to Swift Package Manager. Now I am getting the following error while building my app: xcodebuild: error: Could not resolve package dependencies: The server SSH fingerprint failed to verify. I have a private GitHub repository as a dependeny in my application added as a Swift Package using a ssh location. Therefore I need to add my ssh key for the dependency in the Set up ssh

Github Actions: xcodebuild fails due to server fingerprint

不羁岁月 提交于 2020-12-26 06:28:01
问题 I am trying to build a macOS app with Github Actions. This already worked very well, until I migrated my dependencies to Swift Package Manager. Now I am getting the following error while building my app: xcodebuild: error: Could not resolve package dependencies: The server SSH fingerprint failed to verify. I have a private GitHub repository as a dependeny in my application added as a Swift Package using a ssh location. Therefore I need to add my ssh key for the dependency in the Set up ssh

XCFramework with Pods Dependencies

梦想的初衷 提交于 2020-12-05 11:41:05
问题 Our goal is to create a framework that hides our internal code and provide SDK to our customers. We have thought of creating XCFramework which fulfills our requirement. Umbrella framework is also suggested over the internet but mostly suggested to avoid that approach. Our Framework is dependent on some third-party libraries which we are using via Pods. Issue: XCFramework does not compile pods framework. We got an error like "Xyz(Pod) module not found". Even if we add pods from the client-side