Questions tagged [run-script]

112 questions
1
vote
0 answers

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 refreshes after adding to cart, i am able to trigger the…
jaya558
  • 11
  • 1
1
vote
1 answer

How to change an Info.plist flag based on the TARGET_OS?

I'm attempting to migrate my iOS app to support builds for the UIKitForMac target (project Catalyst!). I'm attempting to change an Info.plist flag based on the TARGET_OS, but I'm not sure how can I detect the target OS from a build phase's run…
marcelosalloum
  • 3,481
  • 4
  • 39
  • 63
1
vote
1 answer

Error While Deploying React application on server

i am getting error while running application on server it is properly working on local i just enter Run (npm start) and perfectly running on local. but same thing i am doing on server i am getting the error given below. please someone help me…
Rahul Kumar
  • 103
  • 1
  • 1
  • 6
1
vote
0 answers

is there any change with ios static library run script with xcode 10?

I have created a static ios library, and I have created Aggregate target to get an universal library as output for that i have included shell script in the build phase section: # define output folder environment…
Satish Mavani
  • 4,897
  • 2
  • 20
  • 30
1
vote
1 answer

Why does Carthage need a Run script?

I've found countless threads on how to add the Carthage Run script, but I would like to know why is this script needed? When adding other .frameworks to Embedded Binaries or Linked Frameworks, there's no extra step that's needed that I'm aware of.…
Lord Zsolt
  • 6,492
  • 9
  • 46
  • 76
1
vote
1 answer

Xcode ruby runscript can not find gem

Xcode: 9.3.1 OS: macOS High Sierra 10.13.4 I am and iOS developer and I am not familiar with ruby at all. I am using a run-script in my Xcode project which uses a ruby gem called 'xcodeproj'. Before everything was working, But I updated my macOS…
Ankush
  • 2,405
  • 3
  • 22
  • 45
1
vote
1 answer

In Xcode run-script how can I pring the real value from plist edited by xcconfig

I have my normal project and the default plist file, and I also created a xcconfig file. First I added one key-value in my plist whose key is called custom_mode and value is connected to the value in xcconfig file like this: //In .plist…
bolizhou
  • 1,208
  • 1
  • 13
  • 31
1
vote
0 answers

Xcode Run script issue when copy the run script from Microsoft Word Document

We have created iOS SDK with supporting both Simulator and Device so while While sharing we are also providing instruction to Developer to remove the unwanted architecture by adding the Run script in their project. This run script is included in the…
iTamilan
  • 428
  • 1
  • 3
  • 13
1
vote
1 answer

intellij System.getProperty ("user.dir"), how to get consistent result , whether ide, run script/app, or test?

Had a bit of a nightmare getting consistent result from my code when reading "user.dir" property depending on how the code was launched. I have a gradle project, some code & scripts in src/main/groovy and tests in source/test/groovy, and running…
WILLIAM WOODMAN
  • 1,185
  • 5
  • 19
  • 36
1
vote
1 answer

Firebase/Crash/upload-sym-util.bash: Permission denied

I've download Firebase SDK and add it to my project manually, when i tried to upload file an error in the script appear. The error is "Firebase/Crash/upload-sym-util.bash: Permission denied"
Sarah
  • 177
  • 1
  • 1
  • 9
1
vote
0 answers

Firebase Crash Report Upload symbols to Crash Report Error

I have created a dummy project to test Firebase Crash Reporting, I added firebase without cocoapods using the firebase documentation in here, and then following the steps to configure crash reporting provided in the documentation, but I'm having…
Barcenas
  • 76
  • 1
  • 10
1
vote
1 answer

Xcode run script to delete all files in a folder

I want to delete all files inside "container" folder in the project directory. I have tried this linux script in Xcode runscript. But it does not work. rm -r "${SRCROOT}/container/*" If i use rm -r "${SRCROOT}/container/", it will delete including…
smartsanja
  • 4,413
  • 9
  • 58
  • 106
1
vote
1 answer

Setting up Simulator for Automated UITesting

I need to setup my Simulators for Automated UITesting. Especially removing Autocorrection, Spellchecking, Prediction etc from the Keyboard. I am doing that for one Simulator like that: plutil -replace KeyboardAutocapitalization -bool NO --…
smnk
  • 471
  • 1
  • 6
  • 25
1
vote
0 answers

Is editing Info.plist and RunScript possible programmatically and dynamically?

In our native iOS app we use Crashlytics for logging Crashes. We need a way to differentiate crash logs between TestFlight and live users, our bundle ID and distribution profiles are the same for TestFilght and live users, that is the final build…
1
vote
1 answer

Difference between runScrip and storeEval commands

I am a beginner in testing. I am doing my internship on testing and trying to learn about all the commands in selenium IDE. I would really appreciate if someone could help me. I want to know the difference between runScript and storeEval commands. I…