quickstart-unity: iOS Build fail when there are spaces on build folder name
Please fill in the following fields:
Unity editor version: 2019.2.18f1 Firebase Unity SDK version: 6.9.0 Firebase plugins in use (Auth, Database, etc.): Auth, Crashlytics, Functions, Storage, Analytics Additional SDKs you are using (Facebook, AdMob, etc.): Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac Platform you are targeting (iOS, Android, and/or desktop): iOS Scripting Runtime (Mono, and/or IL2CPP): IL2CPP
Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Do an iOS release build on Unity with a filename that includes spaces. Ex: “My Game 1.0.0”
When XCode finishes building and starts uploading symbols, the following error occurs:
Unable to read GoogleService-Info.plist at path "...."
What’s the issue repro rate? (eg 100%, 1/5 etc) 100%
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 2
- Comments: 19
I Solved. If you are building with Unity3D. Modify it like this: Open {Your XCode Project Dir}/Pods/Fabric/run file. In 49 line.
ARGUMENTS="$API_KEY_ARG $BUILD_SECRET_ARG $@"
->ARGUMENTS="$API_KEY_ARG $BUILD_SECRET_ARG $1 '$2'"
Thanks for the clarification, @mcrvaz. I was able to reproduce this error on my end. I’ve filed an internal bug for this. I can’t provide any timelines for the fix, so I’ll leave this open.
With version 6.15.0 the run script has changed format and location.
sed -i '' "s/ARGUMENTS\=\"\$API_KEY_ARG \$@\"/ARGUMENTS\=\"\$API_KEY_ARG \$1 '\$2'\"/g" "/PATH_TO_YOUR_XCODE_PROJECT_FOLDER/Pods/FirebaseCrashlytics/run"