mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #38] Library not loaded #20
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Niels-P on GitHub (Mar 23, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/38
When I run the following code in the emulator on a virtual device it runs without a problem, but when I run it on a real iPhone 6 it gives me the following error. Anyone that has a solution for this problem? I run currently (Xcode 6.2 with branche OAuthSwift-ad0f2ecca892e3bd309f09eeb8f591036faebacb) so that's not swift 1.2.
@hopye commented on GitHub (Apr 15, 2015):
This is also happening to me, can someone explain how to fix ???
@hopye commented on GitHub (Apr 15, 2015):
xcode 6.2, swift 1.1
@gabriel-jones commented on GitHub (Apr 15, 2015):
I once had a problem like this where it was looking for the files under the directory for .../iphone/... instead of .../iphone-simulator/...
Maybe try changing this?
@hopye commented on GitHub (Apr 15, 2015):
Thanks a lot, i already had like an hour looking for this, and after writing here i think i have found it. it is working now. I had to Select my main Project workspace. GENERAL TAB -> EMBED BINARIES and include the OauthSwift Framework there, also in LINKED FRAMEWORKS AND LIBRARIES. This is apart from including it in Build Phases -> target dependencies and Link with binaries... Thanks a lot For Replying!!!
@jdbateman commented on GitHub (May 11, 2016):
Same problem on Xcode 7.3.1 building for iPhone running iOS 9.3. Thanks a million hopye for pointing me in the right direction! I had OAuthSwift.framework listed in my Target > Build Phases > Link Binary with Libraries producing the similar failure at runtime. Adding the same framework to my Target > General > Embedded Libraries and my Target > General > Linked Frameworks and Libraries fixed the runtime error.
@hopye commented on GitHub (May 11, 2016):
@jdbateman Best Regards!