calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

other linker flags are not correct after calabash-ios setup #154

Open niklassaers opened 11 years ago

niklassaers commented 11 years ago

I have a project that includes the -force_load in other linker flags. When Calabash is installed, it is missing -force_load before the "($SRCROOT)/calabash.framework/calabash" linker option

jmoody commented 11 years ago

thanks for reporting @niklassaers

reproduced on 0.9.151

i created a sample project here: https://github.com/jmoody/calabash-ios-issue-154

to reproduce:

  1. create a new workspace
  2. create a new iOS project
  3. in the iOS target -force_load the libz.dylib (ignore compiler warnings)
  4. build and run to verify you can run the target
  5. run calabash-ios setup

expected: other linker flags would include a -force_load before "$(SRCROOT)/calabash.framework/calabash"

found: the flag was missing

2013-08-19_02-36-53

vvolkgang commented 9 years ago

This just happened to me now, took a while to figure it out. While this isn't fixed, add a warning to the install instructions.