Questions tagged xcodebuild

Explore the latest questions and answers asked by our top developers.

App failed to launch "No such process" / certificat untrust issue

I try to automate the creation of .ipa for development step. I have an enterprise licence, and I use a distribution cert. Here my code so far, I try to do the whole signing process manually : #!/bin/bash PROFILE_PATH="XX/XXX/XXX.mobileprovision" PROFILE_NAME="XXXXXXX" KEYCHAIN="/Users/XXXX/Library/Keychains/login.keychain-db" PASSWORD="XXXX" CERT_PASS="XXXX" CERT_PATH="./XXX/XXX" ARCHIVE_PATH="./XXX/myApp.xcarchive" IPA_PATH="./XXX/myApp.ipa" EXPORT_PATH="./XXX/exportHouse.plist" sleep 5 open "${PROFILE_PATH}" sleep 5 security list-keychains […]

By LexaGC
Published
Categorised as command-line-interface, ios, ipa, xcodebuild Tagged , , ,

App failed to launch "No such process" / certificate untrusted issue

I’m trying to automate the creation of an .ipa file for development step. I have an enterprise licence, and I use a distribution cert. (It’s a Distribution certificate for an Enterprise distribution. So I don’t publish on app store) Here my code so far, I try to do the whole signing process manually: #!/bin/bash PROFILE_PATH="XX/XXX/XXX.mobileprovision" […]

XCode Build System: Messing up preprocessors definitions and included header files?

First question here. I have some troubles with the XCode Build System, specifically with preprocessor definitions. I’m trying to define a macro that is used as part of a header file to conditionnaly select which code to compile. The usual way to go would be to use #define CONFIG and then include the header on […]

By OpSocket
Published
Categorised as c++, ios, macos, xcode, xcodebuild Tagged , , , ,

Xcode12 – building for iOS Simulator, but linking in object file built for macOS, file ‘dir/SomeFile.a’ for architecture x86_64

Getting linker error in Xcode 12 when I am trying to build my large iOS app (hybrid, swift+objc). The application is building fine for real device, but It gives linker error when I am trying to run in Simulator directly with Debug configuration. I have tried all possible solutions in other post here, but unfortunately […]

xcodebuild archive failure: picking the wrong SDK?

I’m using fastlane to release an app. The simplified version of xcodebuild command to build the app is this: xcodebuild -workspace App.xcworkspace -scheme App -configuration Release -sdk iphoneos13.6 -destination ‘generic/platform=iOS’ clean archive This fails giving (adding a sample): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from /Users/sudeepkumar/Zendrive/mobile-apps/ios/copilot/Pods/glog/src/symbolize.cc:55: In file included from […]

By sudeepdino008
Published
Categorised as fastlane, ios, xcode, xcodebuild

Xcode 11 recompiles too much

Xcode 11 is recompiling (nearly?) my whole project, even if I just change a local private variable, or change a value of a constant in local scope, sometimes even in local private function scope. I sometime can get 2 or 3 changes with quick builds as expected, but soon enough it decides to recompile everything […]

By Nikolay Suvandzhiev
Published
Categorised as ios, swift, xcode, xcode11, xcodebuild

Xcodebuild – Skip Finished requesting crash reports. Continuing with testing

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 […]

By Richard Topchiy
Published
Categorised as fastlane, fastlane-gym, ios, xcode, xcodebuild

When should I delete Xcode Derived Data folder and when should I not?

I have been working in iOS project. Regarding Xcode Derived Data folder whose contents are generated by build system, there are many Stackoverflow posts, i.e. how to remove derived data folder or is it safe to remove derived data folder, etc. but there is none which I am looking for. My question is to know […]

By Sazzad Hissain Khan
Published
Categorised as build, configuration, ios, xcode, xcodebuild

When can I safely delete Xcode DerivedData folder?

I have been working in iOS project. Regarding Xcode Derived Data folder whose contents are generated by build system, there are many Stackoverflow posts, i.e. how to remove derived data folder or is it safe to remove derived data folder, etc. but there is none which I am looking for. My question is to know […]

By Sazzad Hissain Khan
Published
Categorised as build, configuration, ios, xcode, xcodebuild

Why does my Podspec throws multiple: "Execution policy exception registration failed and was skipped" notes?

Podspec is: Pod::Spec.new do |s| s.name = ‘MyPod’ s.version = ‘0.1.0’ s.summary = ‘my summary.’ s.platform = :ios, ‘13.0’ s.description = <<-DESC My description. DESC s.homepage = ‘https://github.com/MyAccount/MyPod’ s.license = { :type => ‘MIT’, :file => ‘LICENSE’ } s.author = { ‘Me’ => ‘[email protected]’ } s.source = { :git => ‘https://github.com/MyAccount/MyPod.git’, :tag => s.version.to_s } […]

By Joseph Beuys Mum
Published
Categorised as cocoapods, ios, podspec, xcode, xcodebuild
1 2

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq