TUSafariActivity code sign failed with exit code 1 - ios

Good afternoon, everyone
Recently I upgrading my Mac OS to 10.12.2 Beta and Xcode ( version 8.2 beta 8C23 ), also update the pods package.
However, after upgrading these, my project fail to build ( even for simulator ) and it seems one of my Pods packages, TUSafariActivity, fail to build. the error message is like this...
Does this mean it is the TUSafariActivity's problem? if yes, Should I wait for their fix??
Thank you for advice.

Update:
It turns out my pod version is too old. after update pod version then update pod, the problem is solved.

Related

Module Bolts not found

I have xcode version 12.0.1 and version 10.15.7 macOS on my macbook
I keep getting this error, no matter how many times I restart my laptop, xcode, pod deintegrate and pod install, and have cleaned derived data multiple times, to no avail
Please help!
This Issue is related to Parse end. I just got a description from Parse team to fix this and they recommended to use Xcode 11, They accepted that they have an issue with Xcode 12. they are working on it and will update once got this fixed. Reference Screenshot is attached.
Did you see if during your pod install the logs specifically said Bolts was installed?
It should be by default, but it could be missing due to some reason (that would be specified in the logs).
Just to be double-sure, also check if your Cocoapods is in the latest version (1.9.3 as I write this answer).
And last but not least, you can integrate it manually if you need to:
https://www.back4app.com/docs/ios/manual-integration
But again, Cocoapods usually would integrate that for you.

Can't archive with Xcode (error - PhaseScriptExecution failed with a non zero exit code), but the build is successful

I am sorry for the black marks in the image.
I have seen multiple posts suggesting an answer to this problem, Lock unlocks keychain (tried it), pod Update (tried it), clear build(tried it), signing, skip install in build settings(tried it) - None of them actually worked.
I built my iOS app in react native with Expo, after which I did expo eject to create the iOS folder for Xcode build and archiving, the build is successful every time and it even runs on the simulator and in my device(iPhone 7) but it always failed to archive by throwing this error - Uncategorised - Command PhaseScriptExecution failed with a non zero exit code..
Any help to point me in which direction should I go or what can be the possible mistake that I am doing will be of great help. Do let me know if, I should provide any more detail about this. Thank you!
Xcode Version - 11.0
Mac Version - 10.15 Catalina
iPhone OS - 13.1.3
Few links I tried from -
"${PODS_ROOT}/SwiftLint/swiftlint" causes "Command PhaseScriptExecution failed with a nonzero exit code" with Xcode 10
https://github.com/apollographql/apollo-ios/issues/395
https://www.reddit.com/r/iOSProgramming/comments/al9box/getting_an_error_command_phasescriptexecution/
Make sure you have installed your pods correctly. For me I removed all the pods from my pod file, updated the pod through the terminal, then re-added the pods to the pod file and installed through the terminal. This worked perfectly for me.
I had the same exact problem. What worked for me was I opened the podifle and deleted all the pods, then saved it. After that run pod update in terminal. Go back to the podfile and past the pods back into the file and save it. Then run pod update in terminal again. After that open xcode and run the cleaner and then try to Archive...it worked for me.
Based on the previous answers, the following worked for me:
Quit XCode.
Delete all relevant files: Podfile, Podfile.lok, Pods folder and .workspace file.
Recreate the Podfile and open the new .workspace file.
Cheers
PS: In my case, I hit this issue after copying an existing project (workspace) to a new machine.
Try go to accounts and press download manual profilesenter image description here

Problems building through bitrise; more problems building through xcode

I've somehow found myself trying to build an app through bitrise to deploy to testflight. I'm a total novice at all of this, so apologies for what probably seems stupid.
Bitrise manages to build everything but then finally refuses to deploy, citing the following in the log:
[06:06:44]: [Transporter Error Output]: description length:10500450
[06:08:55]: [Transporter Error Output]: ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
[06:08:55]: Transporter transfer failed.
[06:08:55]:
[06:08:55]: description length:10500450
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
Fine, I think, I'll clone the repo, open up the project in xcode and thereby update the sdk version. This just seems to mean more problems... When I try to build the project within Xcode, I encounter the following error:
Users/[...]/ios/Pods/Target Support Files/Pods-x/Pods-x.debug.xxconfig: unable to open file (in target "x" in project "x")(in target 'x')
In addition to this, there are a few issues, including:
The file "Pods-x.release.xcconfig" couldn't be opened because there is no such file.
If I ignore this error, push it and build it anew on bitrise, I get the following:
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "DoubleConversion":
In snapshot (Podfile.lock):
DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
In Podfile:
DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
None of your spec sources contain a spec satisfying the dependencies: `DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`), DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
So, it's looking like there's something badly amiss with the CocoaPods installation. And indeed, when I check into the files, there is no Pods folder at all -- just Podfile and Podfile.lock. (I have no idea how it would have build fine previously without this?)
So, I try to reinstall CocoaPods into the project, by running pod install from a terminal in the iOS folder. I get that same error in the terminal: No such file or directory # rb_sysopen -- /Users/[...]DoubleConversion.podspec. pod update generates the same error. In addition, I'm told there's a new version of CocoaPods available. I install it using sudo gem install cocoapods, which generates a Pods folder with subfolders in ios, but all are empty.
As you can tell, I'm a bit baffled. If an intrinsic part of CocoaPods functionality is missing from the project files, how did it ever build previously? I'm guessing it's due to CocoaPods being installed as part of the bitrise workflow (and it is indeed there) -- but, if so, what about that is now causing it to fail during build? What is it about trying to open up the project to update the SDK used that is introducing this problem?
I'm sure all this seems a bit daft (at least I hope so). Thanks for your patience and any help would be enormously appreciated.

FirebaseAuthPlugin.h' file not found

I’ve tried over 3 days of trying to fix this error and I’ve found nothing could someone help?
/Users/user/Desktop/Projects/flutter_duelme/flutter_duelme/ios/Runner/GeneratedPluginRegistrant.m:6:9: 'firebase_auth/FirebaseAuthPlugin.h' file not found
I had the same problem all day long. I ended up having to bump my version of Firebase_Auth to the latest, which for me at the moment is: ^0.15.3, which then forced me to have to upgrade Flutter as well.
Did the typical
Delete PodFile and PodFile.lock Flutter Clean Rebuild project pod install
I'm using Mac, so I also had to update my Xcode to 11.3. Then needed to update Mac OS to Catalina.
Lot's of work, but this got me to a successful build. Hopefully, something in here helps others dealing with this issue.

AmazonServiceExceptionUnmarshaller.h file not found

Have you ever come across this error 'AmazonServiceExceptionUnmarshaller.h file not found' after installing the AWSiOSSDK 1.7.1 cocoapods?
I never faced it ever until today which unable to compile my project with it.
I have tried these potential solutions which were all failed unfortunately.
Ref: iOS - Build fails with CocoaPods cannot find header files
It would be really good if you give me a piece of advices.
Thank you very much
I solved this issue myself. All because of the version of the cocoapods.
If your cocoapods v 0.39.0, you will face the error.
PLEASE DO NOT UPDATE THE LATEST COCOAPODS!
If you have already updated it, try this command line as follows:
pod _0.38.2_ install
You can install pods with the old version (v 0.38.2) by force.
It should be fine.
Thank you!

Resources