Reputation: 865
I imported my old project in Xcode 6.1 and error mentioned above started coming during runtime, with reason image not found,I have tried all off the answers suggested in following link
but none of them worked for me so far,so does anybody have any idea how to get rid of this problem.
any help will be appreciated.
Upvotes: 1
Views: 6481
Reputation: 1592
This was used for betfair/aping-ios-sdk
1) Go to Project settings -> App Main Target -> Build Phases -> Link Binary With Libraries and make sure you have XCTest.frameworks in there
if not, click + button, then Add Other Framework
then press together CMD + SHIFT + G and enter
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks
if you need it for simulator, you need to alter the path appropriately
press ENTER and select the XCTest.framework
2) now it is present in bundle just make it optional as seen in first image and you should be good to go
Upvotes: 7
Reputation: 298
If you are using cocoapods you might need to do pod update, that worked for me
Upvotes: 2