Questions tagged [run-script]
112 questions
1
vote
1 answer
How to write a run script to unzip file in the project directory?
I need to create a run script that will un-zip a file a in the project source code directory and replace the existing files.
My requirement in details is like this. I have aa.framework and bb.bundle in a zip file. Zip file is in the source code…

smartsanja
- 4,413
- 9
- 58
- 106
1
vote
1 answer
Php echo with redirect for minicom script
I'm actually trying to "create" a script file (like script.sh) with php.
I get phone number by php request on previous page.
I got the script working in runscript but i need it to be "dynamic", so here is a part of my script working in bash :
$tel =…

arow
- 13
- 2
1
vote
0 answers
Mach-O Linker Error integrating Crashlytics with CocoaPods
Added Crashlytics/Fabric SDK into my projects manually several months ago, now I'm trying to work with it via CocoaPods.
I first removed Crashlytics/Fabric from my project following this answer then added it back from CocoaPods following this.
Call…

bluenowhere
- 2,683
- 5
- 24
- 37
1
vote
1 answer
Parse Crash Reporting Not Working
I've been following this tutorial on how to enable Parse Crash Reporting: https://www.youtube.com/watch?v=L4SMyHAVJgk
However, after I create the run script and build my app, I get the following error: /bin/sh failed with exit code 2
I'm not the…

nick9999
- 601
- 1
- 8
- 22
1
vote
1 answer
Wrong encoding when running a ruby script on Build Phases on Xcode
I have a ruby script which reads a yml file and creates another file based on that.
If I execute it on my terminal, the output file is perfect.
However when Xcode runs on Build Phases > Run script, it changes from "We’re" to "We\u2019re" for…

Rafael Garcia
- 361
- 3
- 14
1
vote
1 answer
How to write inresponse in indesign scripts
I am running this script for getting all form fields of a indd file.
var _ALL_FIELDS = "";
var allFields = myDocument.formFields;
for(var i=0;i

Ray
- 75
- 1
- 10
1
vote
1 answer
How to check appledoc valid or not in the xcode build phases run script?
i'm working in generating docset for a ios project, but stumped.
as you known, we can write a sh script for the xcode build phases run script; and i want it run only when the project in release version & the software appledoc already installed, so…

kenmux
- 151
- 1
- 10
1
vote
2 answers
Run jQuery script in window application vb.net with in webrowser
There is a dropdown list in a HTML page:
I want to programmatically change the selected value from the dropdown list using:
webBrowser1.Document.InvokeScript
Executing
$('#year_sel').val('2012').change();
in FireBug console works but the same…

user2652125
- 11
- 3
1
vote
1 answer
Executing random python scripts Zope/Plone using condition rules
I am currently working on adding some features to a plone website and I would like to be able to run a python script using content rules. For example, I've written an article and I want to publish it : using a rule triggered by a condition I want to…
user1777144
1
vote
1 answer
Automatic clicking on Link build with Javascript by using watin
I am trying to be able to automate the process of clicking on links built in javascript using watin.
In the source code of web page, the links look like href="#", so i think these links works with Javascript.
Runscript doesn't work with a…

BEC Roland
- 25
- 6
1
vote
2 answers
Share same assets between multiple targets
I'm seeking advice on how to share assets between 4 targets in my project: A.app, B.app, C.app, D.app
Approach 1 - Best case. I have attempted this unsuccessfully
Create an Assets.bundle target.
In the 'Run Script' phase, copy files from…

neoneye
- 50,398
- 25
- 166
- 151
1
vote
1 answer
minicom script exiting immediately
I have written the following minicom script:
sleep 20
send "\n"
expect {
"#" break
}
send "\n"
send "uname -a"
expect {
"Linux:" break
}
The command used to run the script is:
sudo minicom -S v.runscript -C minicom.log
But when I run this…

vaichidrewar
- 9,251
- 18
- 72
- 86
1
vote
1 answer
How to write a Run Script in Xcode
In my project i have Frameworks different for iPhone Simulator and iPhone Device for example like in Rest kit "libRestKit_simulator.a" for simulator and "libRestKit.a" for device,
My requirement is to write a "Run Script" in Xcode to include the…

kiri
- 1,977
- 5
- 27
- 55
0
votes
1 answer
How to get Xcode to refresh folder references on device?
I created a folder reference by doing the following:
Created a folder on disk. Added whatever files are meant to be in it.
In Xcode
---> Add files to project
---> Clicked on folder
---> Unchecked copy files if necessary
--->Clicked…

Rahul Iyer
- 19,924
- 21
- 96
- 190
0
votes
1 answer
grails oauth from groovy script
I'm trying to run a groovy script that calls the Linkedin API. The question is, how do I authenticate using the grails oauth plugin from within the groovy script ?
This is my config :
oauth {
linkedin {
…

user1146572
- 11
- 3