dryark / stf_ios_support

Central repo to connect and document components/repos needed for IOS stf support
Other
154 stars 65 forks source link

/bin/sh: ./Scripts/bootstrap.sh: No such file or directory #95

Closed r66ad closed 1 year ago

r66ad commented 3 years ago

new WebDriverAgent has now only build.sh script. The bootstrap.sh doesn't exist anymore. The build is also not working on xcode 12.3 anymore.

https://github.com/appium/WebDriverAgent/pull/454

nanoscopic commented 3 years ago

Nice update; will change to address this. Thanks for submitting this issue.

gebalamariusz commented 3 years ago

When i changed Makefile line to:

cd repos/WebDriverAgent && ./Scripts/build.sh

I got:


+ XC_MACROS='CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO'
+ case "$TARGET" in
+ echo 'Unknown TARGET'
Unknown TARGET
+ exit 1```
forum77alive commented 3 years ago

I have this problem too

mertmansuroglu commented 3 years ago

How did you solve the issue?? Do you have any updates? Thanks

mertmansuroglu commented 3 years ago

Because I also face the same issue its showing unknown target and exit 1 message after writing build.sh

dproskuin commented 3 years ago

I have the same problem right now.

Avan92 commented 3 years ago

have the same problem, getting the below error :

define_xc_macros XC_MACROS='CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO' case "$TARGET" in echo 'Unknown TARGET' Unknown TARGET exit 1

95

Failed setup on MacOS Big Sur

mbilbiesi commented 3 years ago

Hey guys ! You just need to remove this line https://github.com/DeviceFarmer/stf_ios_support/blob/master/Makefile#L205

mithilesh777 commented 3 years ago

I also have same issue with Xcode 12.5,

nileshordex commented 3 years ago

I also have the same issue with Xcode 12.5.1,

CarlosOlivaGbnt commented 3 years ago

I have the same issue with Xcode 13.0

define_xc_macros XC_MACROS='CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO' case "$TARGET" in echo 'Unknown TARGET' Unknown TARGET exit 1

DrxWeb commented 2 years ago

any update?

KimEklund13 commented 2 years ago

When I run this with build.sh I also get this. Xcode version 13.3.1, macOS Monterey 12.3.1 (cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent && ./Scripts/build.sh -d)

+ define_xc_macros
+ XC_MACROS='CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO'
+ case "$TARGET" in
+ echo 'Unknown TARGET'
Unknown TARGET
+ exit 1

As far as I know, this is the only way I've been able to get webdriveragent installed on a simulator because simply launching appium w/ the standard desired capabilities is not installing webdriveragent like I think it should automatically.

nanoscopic commented 1 year ago

The PR by @mbilbiesi has been merged.

@KimEklund13 This project was never meant to work with simulators. Only real iOS devices are supported.

The PR addresses the issue the title of this ticket describes, so closing. If there are additional issues being encountered now, please make a separate issue for those.