Post

Replies

Boosts

Views

Activity

Reply to Error trying to archive project (armv7)
I too am having this problem. I keep getting an error based on unmatched parentheses in a generated file,  <project>.build/Script-CEC03A37266E7CBC00D5745A.sh: line 4: unexpected EOF while looking for matching `"' That file contains the following: #!/bin/sh buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion "$PRODUCT_SETTINGS_PATH") buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "$PRODUCT_SETTINGS_PATH" As you can see, the 2nd line has an odd parens(“). I’ve tried searching on the error and more and banging my head on the screen and neither worked. Making the 2nd line  buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$PRODUCT_SETTINGS_PATH") ...didn't work, the file gets overwritten.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’21
Reply to Error trying to archive project (armv7)
Yikes, terrible formatting on comments. moving to answers
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Error trying to archive project (armv7)
I too am having this problem. I keep getting an error based on unmatched parentheses in a generated file,  <project>.build/Script-CEC03A37266E7CBC00D5745A.sh: line 4: unexpected EOF while looking for matching `"' That file contains the following: #!/bin/sh buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion "$PRODUCT_SETTINGS_PATH") buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "$PRODUCT_SETTINGS_PATH" As you can see, the 2nd line has an odd parens(“). I’ve tried searching on the error and more and banging my head on the screen and neither worked. Making the 2nd line  buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$PRODUCT_SETTINGS_PATH") ...didn't work, the file gets overwritten.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Unmatched parens in Archive process generated file
THANK YOU, robnotyou! Deleting the Run Script solved my problem. I had not added that script, as my understanding of Xcode does not yet go that deep. Hopefully its absence will not create problems, but I can always recreate it with your mod if need be. Thanks again.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21