-
Notifications
You must be signed in to change notification settings - Fork 370
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2019.4.30 (happens on other versions as well)
- External Dependency Manager version: 1.2.167
- Source you installed EDM4U: unitypackage (.unitypackage or Unity Package Manager)
- Features in External Dependency Manager in use: iOS resolver (Android Resolver, iOS Resolver, VersionHandler, etc.)
- Plugins SDK in use: firbase, admob, facebook and more (Firebase, Admob, Facebook, etc.)
- Platform you are using the Unity editor on: Mac (osx 11.6) (Mac, Windows, or Linux)
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
- Make sure you have cocoapods 1.11.2 (latest at this time) installed (and that it is the one unity is using)
- Open new project in unity
- Create Dependencies xml under Editor with only ios pods and add this line -
- Build for iOS
Expected : Cocoapods should run without an issue
Actual: Build fails, cocoapods gives message -
normalize.rb:141:in `normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)
If I take the result xcode project and run pod install from my terminal, it passes. Also, if I downgrade to cocoapods 1.10.x it stops occuring, but this is not a great option. Another way I've just solved it was to add export LANG=en_US.UTF-8 to ~/.profile as suggested, but this is also not optimal - if I could suggest a solution, you could export this environment variable in the process of running "pod install" - just an idea
Please answer the following, if applicable:
What's the issue repro rate? (eg 100%, 1/5 etc)
Reproduces all the time.
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Console log error -
iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.
After the failure, "pod repo update" was executed and succeeded. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.
pod install output:
�[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile: export LANG=en_US.UTF-8 �[0m/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/normalize.rb:141:in
'normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError) from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:166:inunicode_normalize'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:166:ininstallation_root' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:226:inpodfile_path'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:105:inmarkdown_podfile' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:30:inreport'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:66:inreport_error' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/claide-1.0.3/lib/claide/command.rb:396:inhandle_exception'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/claide-1.0.3/lib/claide/command.rb:337:inrescue in run' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/claide-1.0.3/lib/claide/command.rb:324:inrun'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:inrun' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/bin/pod:55:in<top (required)>'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/bin/pod:23:inload' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/bin/pod:23:in
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/normalize.rb:141:innormalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError) from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:166:inunicode_normalize'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:166:ininstallation_root' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:226:inpodfile_path'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/config.rb:205:inpodfile' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:160:inverify_podfile_exists!'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb:46:inrun' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/claide-1.0.3/lib/claide/command.rb:334:inrun'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:inrun' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/gems/cocoapods-1.11.2/bin/pod:55:in<top (required)>'
from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/bin/pod:23:inload' from /usr/local/Cellar/cocoapods/1.11.2_1/libexec/bin/pod:23:in'pod repo update output:
Updating spec repo
amazonaws-cocoapods
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-cocoapods fetch origin --progress
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-cocoapods rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-cocoapods reset --hard origin/master
HEAD is now at 39fa1fd8 [Update] TT_Plugins_Billing_Pod (3.5.0.95.18)
Updating spec repoamazonaws-v1-repos-cocoapods
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-v1-repos-cocoapods fetch origin --progress
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-v1-repos-cocoapods rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/shmulika/.cocoapods/repos/amazonaws-v1-repos-cocoapods reset --hard origin/master
HEAD is now at 39fa1fd8 [Update] TT_Plugins_Billing_Pod (3.5.0.95.18)
Updating spec repocl-pod-repo
Updating spec repococoapods
Updating spec repoironsource-mobile
Updating spec repoironsource-mobile-1
Updating spec reposhmulmul
Updating spec repotrunk
Updating spec repovungle�[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile: export LANG=en_US.UTF-8 �[0mUnityEngine.Debug:LogError (object)
Google.Logger:Log (string,Google.LogLevel) (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/VersionHandlerImpl/src/Logger.cs:136)
Google.IOSResolver:Log (string,bool,Google.LogLevel) (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/IOSResolver/src/IOSResolver.cs:1159)
Google.IOSResolver:OnPostProcessInstallPods (UnityEditor.BuildTarget,string) (at /Users/chkuang/Workspace/git/unity-jar-resolver/source/IOSResolver/src/IOSResolver.cs:2567)
UnityEngine.GUIUtility:ProcessEvent (int,intptr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Since it is very easy to reproduce i think uploading a unity project wont really help, if necessary sure I can upload it.