I'm working on a React Native iOS app. I've setup Fastlane, which has worked fine, building and uploading my app to iTunes connect. However upon installing Fabric/Crashlytics my Fastlane script fails on Gym. XCode still is able to build my app successfully. I've followed the Mac client instructions for setting up Fabric.
Fastlane version: 1.101.0
XCode version: 7.2.1
ReactNative version: 0.31.0
I have cleaned all my build artifacts since installing Fabric. I've been searching for a solution for several days, but to no avail. Any help would be much appreciated!
Output after running fastlane beta (fails on Gym)
My Fastfile
Related
Couldn't find enough information about Xcode cloud and is wondering if anyone is facing any issues using cocoapods with Xcode cloud.
I am aware that I need to add a file called ci_post_clone.sh if I have cocoapods.
Almost every time, my Xcode cloud build will fail on the ci_post_clone.sh script where according to the log, installing some cocoa pod fail. And the cocoa pod fail varies, each time, a different cocoapod will fail.
For example, below is the log. I never have problem getting AMPopTip, GooglePlaces error, and this is the first time.I am aware that AMPopTip SDK is quite old and its not updated regularly.
I am just trying to understand how common this problem is and how have any of you bypass it.
Some of the things I have done is,
Clean, rebuild via Xcode Cloud
Run multiple times, each time, error varies and if I am lucky, the build will succeed. So far, I only manage to get 1 successful build out of 5 tries.
First build
Second build
Third build
Xcode cloud environment are
Xcode version: 13.4.1
macOS version: macOS Monterey 12.4
Local machine environment are
Xcode version: 13.4.1
macOS version: macOS Monterey 12.4
cocoapods version 1.11.3
I am developing a chat app using XMPPFramework for ios, I was building archive without any trouble till the version 2.10.2 of flutter. Running the app has no problem either in simulator or real device but just building ipa is failing.
Error log from Flutter
I've done many times pod install or pod update, no result, I'm stack.
I am using:
Xcode Version 13.2.1 (13C100)
Flutter 2.10.2
XMPPFramework 4.0.0
Swift Native language
I am trying to build and create a new IPA file (Enterprise Distribution, not app store) and I am having difficulties. This is an app that I have not touch for about a year, but need to create new binaries due to expiring cert.
Environment: macOS 10.15.7, Xcode 11.5 (Swift 5.2.4)
I first upgraded to XCode 12.4, but had issues with Swift versions and 3rd party libraries that I use, so I went back to Xcode 11.5. I am using Carthage and it seems to run fine and Xcode builds fine, but it errors out after clicking on Distribute App: Product -> Archive -> Distribute -> Enterprise/Development -> “IPA processing failed”:
In the log, I see this about Alamofire, which seems to be the issue:
2021-02-18 18:23:00 +0000 Scanning IPA...
2021-02-18 18:23:00 +0000 Assertion failed: Expected 4 archs in otool output:
/var/folders/6_/t3d3774j3k51w0xwhdswhw880000gn/T/IDEDistributionOptionThinning.~~~UiyRoc/Payload/POS
Pad.app/Frameworks/Alamofire.framework/Alamofire:
Carthage libraries:
github "Alamofire/Alamofire" "5.4.1"
github "AuthorizeNet/sdk-ios" "4.2"
github "Hearst-DD/ObjectMapper" "4.2.0"
github "SwiftyJSON/SwiftyJSON" "4.3.0"
github "TakeScoop/SwiftyRSA" "1.6.0"
github "emaloney/CleanroomLogger" "6.0.2"
github "glock45/swifter" "1.5.0"
github "jzau/fpingx" "0.1.2"
I have "/usr/local/bin/carthage copy-frameworks" in Build Phases (as always). I have also added the Run Script from here: 'IPA processing failed' while distributing build in Xcode Beta, but that did not help.
I only need this to run on iPad Air 2 and later (but it would be good if it also runs on the iPad emulators).
I have never seen this error before and help to get this working would be much appreciated!
I am working on a flutter project and trying to release an IPA but if fails. I usually release on TestFlight but yesterday it failed, (I released one build successfully on last Friday).
When I create a development build IPA and try to install on my iPhone using Application Loader, it works fine.
But with a Distribution build it fails on installing iPA using ApplicationLoader.
With TestFlight, the app is released, it can be installed but on launching it crashes.
I have tried Flutter clean,Pod install, clearing all Derived data.
My certificates are valid.
The only thing that is changed from last Friday is I had Flutter upgrade to version 1.17.
I created build using this too..
flutter clean
rm -rf ios/Flutter/Flutter.framework
flutter build ios --release
But still not working when I try to install using application loader.
Please help! thanks in advance.
I've been able to successfully using the Ionic CLI to build my iOS packages in the past, but I have a set of errors that I can't get rid of. The archive is succeeding, but I'm still having a few issues.
1) Even if I'm using the ionic build ios command, it's creating an archive package and not the build package.
2) I'm getting some IDEDistribution errors:
** ARCHIVE SUCCEEDED **
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run `rvm use system`.
If you use chruby, please run `chruby system`.
2017-03-15 10:00:54.132 xcodebuild[11254:474630] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/v9/dqmqkj455rjbmq4n9gg4dc4m0000gn/T/ExampleSQLite_2017-03-15_10-00-54.131.xcdistributionlogs'.
1.2.840.113635.100.1.61
Exported ExampleSQLite.xcarchive to: /Applications/XAMPP/xamppfiles/htdocs/dev/_ionic/ExampleSQLite/platforms/ios/build/device
** EXPORT SUCCEEDED **
This error occurs even after I've run the rvm use system command.
Is the archive setting something in XCode settings? If I try ionic build android it builds properly (meaning it doesn't archive, I get a BUILD SUCCEEDED message).
For reference, here is my system info:
Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.4
OS: macOS Sierra
Node Version: v7.5.0
Xcode version: Xcode 8.2.1 Build version 8C1002
I've tried uninstalling and reinstalling XCode with no change.
Was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.
It turned out that I had two iOS Developer Keys in my Keychain Access which was causing the error. Once I deleted that one and tried to build, the error went away.
If you have the same issue, go to Keychain Access > Keys and look for ones that start with iOS Developer... if you have any duplicates installed just delete them and reinstall and you should be all set.
I was getting the same error and in my case, it turned out that the problem was caused because I had my device plugged to the computer during the Cordova build.
I just unplugged it and works.