Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 754 Vote(s) - 3.45 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib

#11
I added [SCLAlertView][1] pod in my project and later removed it. I did not remove `import SCLAlertView` from my viewcontroller. Ideally it should give a compile time error, but it gave a run time error mentioning `dyld: Library not loaded: @rpath/SCLAlertView.framework`. I removed `import SCLAlertView` from my viewcontroller, build it and it did not give the error. So in my case I was trying to `import` a library whose framework was not found. Removing such references will resolve your issue.


[1]:

[To see links please register here]

Reply

#12
For me, the issue was due to the fact that my Apple Worldwide Developer Relations Certification Authority was invalid.

Download it from here:

[To see links please register here]


Drag and drop it into Keychain Access, clean the project, and run.
Reply

#13
None of these solutions seemed to be consistently working for me; after every couple of successful runs, it would fail again. The "Embedded Content Contains Swift Code" flag was always set to YES for me.

Turns out I'd set Xcode to be 6.3-compatible. Changing it back to be 3.2-compatible solved it:

<img src="http://i.stack.imgur.com/1hGxh.png" width="320">
Reply

#14
Adding Framework as "Embedded Binary" instead of just "Linked Frameworks and Libraries" - Fixed my issue.

I also set Embedded Content Contains Swift Code flag to YES.
Reply

#15
If you add the three frameworks via Embedded Binaries, they will be added to Linked Frameworks and Libraries also. Delete the three entries in **Linked Frameworks and Libraries** will solve the problem.

>Magic methods such as relaunch Xcode and restart the Mac doesn't work on me.
Reply

#16
Recently started getting this error again. While the top 2 answers solved it for me in the past, none of the suggested answers worked this time. I noticed the error said:

Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/8D8E5347-940A-4724-ACFE-33DF4C4DCB37/your.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Bundle/Application/8D8E5347-940A-4724-ACFE-33DF4C4DCB37/your.app/Frameworks/libswiftCore.dylib'

So I tried deleting the app from device, and I was able to build and run again.
Reply

#17
And if all of the above doesn't help you and you really get frustrated... Try the best trick of all: `Clean` and just to be sure also `Clean Build Folder`. :) Hope it helps somebody!
Reply

#18
After months and months trying everything here... Definition of insanity... starting Xcode under a new Mac user solved it for me.

I removed ~/Library/Developer/* and reinstalled Xcode- so no clue what else to format to make it work.
Reply

#19
My environment: Cocos2d 2.0, Box2d, Objective C

In addition to doing the other answers above I finally went to the General tab and made WatchKit Optional.

[![Targets:General:Linked Frameworks and Libraries: WatchKit.framework: Optional][1]][1]


[1]:
Reply

#20
Usually this error will disappear if you add this library to the "Copy Files" segment in your Build Phases.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through