I have stucked in a problem that when I run app it runs fine but when I try to create .ipa file there is compiling issue and error thrown "run custom shell script 'Run Script' ".There are four targets in My App.I tried lots of solutions to get out from it but nothing works.please if anyone could let me know the exact solution.Thanks in anticipation.
This might be help you:
Please make sure that internet is connected while archiving the project
Related
following is the error in xcode
I have also tried build legacy from workspace settings but failed to do so.
Multiple commands produce '/Users/saifubaid/Library/Developer/Xcode/DerivedData/antispam-bjwrxskogxnnophfhgkpyxxcqcuj/Build/Intermediates.noindex/ArchiveIntermediates/antispam/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle':
Target 'React-Core.common-AccessibilityResources' has create directory command with output '/Users/saifubaid/Library/Developer/Xcode/DerivedData/antispam-bjwrxskogxnnophfhgkpyxxcqcuj/Build/Intermediates.noindex/ArchiveIntermediates/antispam/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'
Target 'React-Core.common-CoreModulesHeaders-AccessibilityResources' has create directory command with output '/Users/saifubaid/Library/Developer/Xcode/DerivedData/antispam-bjwrxskogxnnophfhgkpyxxcqcuj/Build/Intermediates.noindex/ArchiveIntermediates/antispam/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle'
stuck on it. tried almost every solution.
Multiple commands produce '/Users/shubhamnagota/dev/zest/zest-app/ios/DerivedData/zestapp/Build/Intermediates.noindex/ArchiveIntermediates/zestapp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle':
Click on Pods App
From the list remove React-Core-AccessibilityResources
Clean Project
Build Again
Archive.
Worked for me! :)
Any idea why is that I have to clean my project, delete com.google.Symbol* and restart XCode every time I build a project that uses Firebase/Crash?
The problem seem to be with the uploading symbols script for Firebase/Crash.
Here is the process I need to perform everytime I want to run the project.
Clean project with (Shif+Command+K)
In the terminal delete com.google.Symbol
rm $HOME/Library/Preferences/com.google.Symbol*
Restart XCode
Run. It works fine but only one time, if I run it a second time I get an error.
ERROR: This is the error I get if I run the project a second time.
Here is my project and the path for the script.
If I check the Run script only when installing option in XCode, the project runs fine every time, but errors don't get symbolicated when shown in Firebase console.
Any idea what could I do to solve this issue?
FYI - I tried changing the path as follow but the behavior was the same.
"${PODS_ROOT}"/FirebaseCrash/upload-sym "${SRCROOT}"/Firebase-keys/firebase-crashreporting.json
I faced the same issue a few days ago, and it was really annoying. Use this script instead of the current one, this worked for me:
"${PODS_ROOT}"/FirebaseCrash/upload-sym-util.bash ${SRCROOT}/Project/Firebase_Crash.json
When I compile my code, Shell Script Invocation error happen in my project.
I did Clean->Build->Restart my project. But it didn't help.
I did again Clean DerivedData, but still the same error.
How to solve this error. Please help me.
you have to create scheme of the selected pod, choose it and run build. After include framework of the selected pod.
I ran into this issue after upgrading to Xcode 8. When running the tests I get this error at run time:
/Users/<me>/work/<appname>/Build/Intermediates/<appname>.build/Debug-iphonesimulator/<appname>UnitTests.build/Script-231C35D610AC1F5000D830C2.sh: line 3: /Applications/Xcode.app/Contents/Developer/Tools/RunUnitTests: No such file or directory
The sh script in the error message is trying to access the RunUnitTests tool and fails. I assume this tool has been removed in Xcode 8. It seems that for my project Xcode tries to run tests in a way that is no longer supported. If I create a brand new project no such script is created and I can run tests.
Any idea what settings I need to update in my project to get the tests running again? I tried the 'Update to recommended settings' checklist but it doesn't solve this issue.
It seems I only needed to remove the Run Script phase that invoked that script.
Removing Run Script from the Build Phases didn't help me.
I simply copied /Applications/Xcode.app/Contents/Developer/Tools/RunUnitTests from my older Xcode into my XCode 8 package content. Give it right permissions:
RWXR-XR-X
And it worked for me.
Not able to build mupdf. I am getting the following error:
Generating cmap and font files
Apple broke Xcode external targets yet again, and I can't be bothered to fix it.
Run the 'make generate' command manually from now on!
If you see an error while running GEN, you've forgotten.
Building libraries for i386.
GEN generated/cmap_cns.h
/bin/sh: ./build/debug-ios-i386/cmapdump: No such file or directory
make: * [generated/cmap_cns.h] Error 127
Do what the error message tells you to do.
Open a terminal, cd to the mupdf directory, and run "make generate".
The same problem.After "make generate", I restarted Xcode, then build successfully.
I was able to generate the MuPDF library without using any make generate or shell script.
I wrote a small step-by-step tutorial on this post.
Cheers