![]() |
|
Cannot link LiveSDK framework - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Tools & Technology (/forum-10.html) +--- Thread: Cannot link LiveSDK framework (/thread-10488.html) |
Cannot link LiveSDK framework - SparkyNZ - Dec 19, 2012 01:44 PM Hi. I am struggling to get the LiveSDK framework to link into a test application. I took the "LiveSDKTestBed" app (which appears to include the source for the LiveSDK framework) and I have tried to link with the compiled framework but I cannot get it to work. I put the LiveSDK.framework folder in my /Developer/Library/Frameworks folder, added the framework using Xcode 4.2's "Build Phases" "Link Binary with Libraries" section but I still get the following linker error. Can somebody please help. Code: Ld /Users/paulspark/Library/Developer/Xcode/DerivedData/LiveSDK-bregvkhbycuqrjcqojrpsjdkcpqj/Build/Products/Debug-iphonesimulator/LiveSDKTestBed.app/LiveSDKTestBed normal i386RE: Cannot link LiveSDK framework - SparkyNZ - Dec 19, 2012 02:43 PM I found the solution to my problem.. I created a new Xcode project and simply added the LiveSDK framework. Tried to build that - same problem. I then began to include the framework from different paths on my Mac. I freshly unzipped the LiveSDK.framework.zip file once again in my Downloads folder, used the new LiveSDK.framework folder created there and it all worked fine! Next I thought there was perhaps a problem with where I had put the previous framework folder copy so I tried the LiveSDK.framework folder in different locations. They all worked fine.. Eventually I copied the contents into the /Developer/Library/Frameworks folder, chose to 'replace all existing' files and it still didn't work. I deleted that folder, tried again, and it worked. So.. all I can think of is that there must have been something within that folder that was stopping it from working. All working fine now.. WeiRd! RE: Cannot link LiveSDK framework - SparkyNZ - Dec 19, 2012 06:28 PM Bizarre!! This must be an Xcode bug.. - If I include the framework from ~user/Downloads it works.. - I remove framework after adding from above path.. - Add once again from correct path (/Developer/Library/Frameworks) - Will work now |