New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARCHS[@]: unbound variable #8035
Comments
is |
@dnkoutso thank you for your reply. My problem solved. Because I delete the |
line 144: ARCHS[@]: unbound variable Please help |
I am getting the same error like contisadmin in Nativescript "tns-ios": { sent 3717339 bytes received 98 bytes 7434874.00 bytes/sec |
Is there any solution for this? First when building for the simulator, I got errors. That is fixed by changing arm64 to x86_64 in VALID_ARCHS. Now when trying to deploy my app (with fastlane) this error is thrown by CocoaPods. |
Yep, same problem here. On Xcode 12.0.1. |
Solution: https://stackoverflow.com/a/64150387/2399348 So, set VALID_ARCHS to $(ARCHS_STANDARD). This works for device AND simulator builds. |
JeroenJK, first really thank you for share your thoughts or the solution that work in your project. With hybrid word i mean Nativescript, flutter, and so on. I am hybrid man in the hybrid world, and... it is not fantastic XD, therefore there is no solution for me today. |
For Nativescript users trying to build with xcode11, just comment the following lines on platforms/ios/internal/nativescript-build.xcconfig: // Xcode 12 |
This didn't work for me (was able to run it either on device or sim but not both depending on config) so I added x86_64 and i386 at the end:
I also flipped Note: XCode 12.0.1, iPadOS 14.0.XX, bug did not exist in iPadOS 13/XCode 11.6.XX Thank you so much to the previous posters for inspiring this fix.. this bug nearly killed me. |
Please help, I am using Xcode 11.3.1 |
Hi @kushalpal17, did you try deleting the pod lock file, the pods folder and unistalling then reinstalling pods? I'd also consider updating / upgrading cocoapods. Also, turning your machine off and on again may make it work. If none of that works out, maybe try what I did for 12.0.1? I don't think it will help but it probably won't hurt. |
Thanks, this is the only solution that worked for me. |
samee problem |
Our team added the solution for fixing iOS build for Xcode 12, but stopped working on Xcode 11. |
I could not get this to work on Xcode 12.2 (12B45b) for the life of me using these settings, even after having gone through multiple pages of Google results on GitHub and Stackoverflow. As a last resort, I just started trying different Xcode 12.x versions. The moment I tried the same exact settings on Xcode 12.0.1 (12A7300) it was no longer an issue. Guess I'm staying on 12.0.1 for a while 🤷. For what it's worth, I'm using Firebase Analytics + Crashlytics pods, with other dependencies on SPM. |
I'm using Xcode 12.2, and his solution works for me. |
Lots of people reporting that this didn't work, but it worked for me. Xcode 12.3. |
None of this worked for me.... |
-> https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes It works for me by removing |
For those who have Xcode 11.5, I have managed to solve this by upgrading Xcode to 12.1 and having no |
For me i solved building an Xcode 12.x project on Xcode 11.x by removing |
Adding $(ARCHS_STANDARD) to Valid Architectures in Build Settings solved it for me |
Please help: Xcode 13 |
can't seem to resolve the issue on Xcode 13 as well. |
@kockok did you solve this isue? or some one? |
By updating to the latest pods, this issue changed from an error to a warning and I think it's solved. |
having the same issue as @kockok |
+1 same issue @kockok |
I was able to create a build but the solution is not ideal, while creating a building have to remove arm64 from excluded architectures in pods and projects and while running the project on the simulator have to add the excluded arc > any ios SImulator SDK > then arm64 in that. |
I'm using Xcode 13.4, I added arm64 to Build Setting -> Excluded Architectures to be able to run on iOS simulator |
please help !!! |
@NgocLe1001 , You need:
Example. I had an issue with a build and didn't know where. Open that failed screen and see what is inside and then you can at least know what script failed and where to search. What to do next, depends on the issue. |
It's helps, thanks! |
Report
What did you do?
Compile my project in xcode_10_beta_5
What did you expect to happen?
Bulid succeeded
What happened instead?
It is similar to 7708
I've seen the discussion about issue 7708, but i can't understand what should I do about my question.
I have tried to shield function
strip_invalid_archs()
implementation, then xcode show error blow:CocoaPods Environment
CocoaPods : 1.6.0.beta.1
Podfile:
Project that demonstrates the issue
sorry, our project is complicated, it is difficult to provide a sample for you
My English is so poor, I wish you can understand me, looking forward to your reply,thx.
The text was updated successfully, but these errors were encountered: