109 questions
8
votes
3
answers
2k
views
Xcode 15 beta does not allow run script access to .git/HEAD and Info.plist
To access the current git branch and commit, I have been using this script successfully for a long time.
However, with Xcode 15.0 beta, the script has no longer access to the git and Info.plist files. ...
1
vote
1
answer
201
views
xcparse command in post-actions script always returns error
I've set up an XCUITest target to automatically make screenshots. What I'm trying to do is automate the export of those screenshots. To do this I'm writing this bash script:
exec > "${...
1
vote
0
answers
171
views
Command phasescriptexecution failed with a nonzero exit development and production firebase
I'm trying to add firebase for my own project in dev and production environtment.
I need to add GoogleService-Info.plist for Dev and Prod environment.
After add new run script phase. There's error ...
0
votes
2
answers
288
views
iOS/Objective-C: How to import DWARF file in Firebase Crashlytics? "${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" not working anymore
I just install Firebase, but impossible to import à DWARF file.
I put this line in my Script of the app, but it seems not to resolve the problem with a real device.
Script:
"${BUILD_DIR%Build/*}/...
1
vote
0
answers
1k
views
Woocommerce: How to fire script after product added to cart via Ajax event
I am trying to integrate webengage to the website and trying to trigger "Added to cart" event along with the product data like(name, variation, price, quantity etc..)
Without ajax, when page ...
1
vote
1
answer
2k
views
Show a notification message with "Run script" mode for Action (Retool)
With "Show notification" mode for Action and other settings as shown below, I could show a notification message on the top right corner of the screen:
This is the notification message on ...
0
votes
1
answer
2k
views
Firebase crashlytics script in iOS(2021) not working via Testflight
I am trying to integrate firebase crashlytics into iOS app.
During integration I added run script to upload crashes automatically.
I connected my iPhone_XR to Xcode and ran in release mode. Then I ...
0
votes
1
answer
43
views
Pod release failed
I'm developing a Pod.
I've 2 files(json and yml) in (Example)project's root folder(not in pod itself).
I've written a Run-Script in the Pod's .podSpec file using script_phases to copy the contents of ...
0
votes
1
answer
718
views
Add keyboard shortcut to run .py script with current file as argument
Assuming I have a .py script in ~/Scripts/script.py, how can I run it with the currently opened file in PyCharm 2020.3 Professional?
What I simply need is to bind a keyboard shortcut to a python ~/...
2
votes
3
answers
2k
views
Xcode build never finishes when upload-symbols in Build Phase Run Script for FirebaseCrashlytics
I have apply Firebase Crashlytics in my app. I have implemented the following in my Run Script, under Build Phases in Xcode:
I also config into Build Settings:
and the message I receive when Xcode ...
0
votes
0
answers
31
views
Xcode release build configuration reflects outdated git branch [duplicate]
When building my app with Xcode debug build configuration I am seeing my most recently updated git branch.
When building my app with Xcode release build configuration I am seeing an outdated git ...
0
votes
1
answer
494
views
how to setting XCode project that have two target with same bundle version
so if i upload on appstoreconnect and have different bundle version on each target it will be ignored by apple. ignored info when uploading to appstoreconnect
PLIST="${PROJECT_DIR}/${...
2
votes
2
answers
3k
views
Xcode build never finishes when using Firebase upload-symbols in Build Phase Run Script
I have Firebase Analytics and Crashlytics enabled in my app. As per the Firebase website, I have implemented the following in my Run Script, under Build Phases in Xcode:
find dSYM_directory -name "*....
2
votes
2
answers
6k
views
Python - Pandas: IF statement based on column values
I am trying to develop an IF statement, which will
- Run another python script, if there are values in [Column Name] which are equal to zero.
- Else do nothing.
My original thought was to do ...
5
votes
2
answers
11k
views
iOS: How to upgrade my CFBundleVersion and my CFBundleShortVersionString automatically in Xcode 11? (My old script doesn't work anymore)
I have a script that upgraded my version (0.01 by 0.01) and my build (1 by 1). It doesn't work anymore with the Xcode 11.
Here is my script:
#!/bin/bash
rm -rf build
Version=$(/usr/...