2

Since I updated my project to XCode7beta3, there is permanent error when I try to print whatever on console:

error: module 'Fabric' was built in directory '/Fabric.framework' but now resides in directory './Fabric.framework'

How to fix this issue?

Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
  • just check in target->build phases->runscript and check path...i just give a try not sure – Bhavin Bhadani Jul 18 '15 at 04:55
  • try to move .framework to the subfolder...check here...http://stackoverflow.com/questions/31219422/swift-debugger-does-not-show-variable-values-when-importing-objc-framework – Bhavin Bhadani Jul 18 '15 at 05:01
  • Ok, I moved it to a subfolder `Frameworks/`. In Frameworks Search Paths in Build Phase I set `$(inherited) $(PROJECT_DIR)/Frameworks`, but I do not know what to put in Run Script Build Phase. Now I have: `./Fabric.framework/`, but when I run I got an error: `./Fabric.framework/run: No such file or directory` – Bartłomiej Semańczyk Jul 18 '15 at 05:39

1 Answers1

0

You should move the Fabric framework to a subfolder (maybe the Crashlytics framework too) and update the run script accordingly: ./Frameworks/Fabric.framework/run .....

Franco Solerio
  • 585
  • 6
  • 13