Error Installing GameSaladViewer on iOS
Hey Guys,
I have a little problem and I hope you guys can help me out.
I have just updated my GameSalad SDK, but i found out that it is also necessary to update my GameSalad Viewer on iOS.
After I downloaded the newest GameSalad Viewer and tried to install it using Xcode, I came across 201 "Apple Mach O Linker" errors. After some internet searched I did the following:
"Here is permanent solution.Generally overwriting project may cause this prolems.Try this method.
Go to your project profile
-> build settings
-> Open "Search path"
-> Open "Framework search path"
-> now,double click on path located
-> there are two paths like
(1) $(inherited)
(2) "$(SRCROOT)/../../../Data/myCodes/He/ed/Nav"
-> remove all data of first and second path..Thats it."
I had 4 paths and deleted them all. 200 errors are gone now, but 1 still remains. I have added the error below.
Ld /Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Products/Debug-iphoneos/GameSalad\ Viewer.app/GameSalad\ Viewer normal armv7
cd /Users/chris/Downloads/viewer-distribution-2
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Products/Debug-iphoneos -F/Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Products/Debug-iphoneos -filelist /Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Intermediates/GameSalad\ Viewer.build/Debug-iphoneos/GameSalad\ Viewer.build/Objects-normal/armv7/GameSalad\ Viewer.LinkFileList -exported_symbols_list luaSymbols.txt -dead_strip -ObjC -all_load -stdlib=libc++ -fobjc-link-runtime -miphoneos-version-min=6.0 -lGSLuaLib -weak_framework AdSupport -framework GameKit -framework Foundation -framework UIKit -framework OpenAL -framework AudioToolbox -framework Security -framework SystemConfiguration -lsqlite3.0 -lxml2 -lz -lexpat -lGSViewerLibrary -weak_framework iAd -framework CFNetwork -framework MobileCoreServices -framework AVFoundation -lluajit-ios -framework QuartzCore -framework CoreGraphics -framework OpenGLES -Xlinker -dependency_info -Xlinker /Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Intermediates/GameSalad\ Viewer.build/Debug-iphoneos/GameSalad\ Viewer.build/Objects-normal/armv7/GameSalad\ Viewer_dependency_info.dat -o /Users/chris/Library/Developer/Xcode/DerivedData/GameSalad_Viewer-fqmbeervrkrlbpbxvxqsqffqdqqn/Build/Products/Debug-iphoneos/GameSalad\ Viewer.app/GameSalad\ Viewer
ld: library not found for -lGSLuaLib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have no experience with Xcode "thats why I bought GameSalad " and this is arabic for me. I hope someone can tell me, in simple steps how this problem can be solved, so I can install the newest GameSalad Viewer on my iPod.
Thanks in advance.
Chris
Comments
Hey, think its the same issue I had. select the correct target device from the drop down - i had iphone retina selected, should have been iphone5
Thank you for your reply, however it does not solve my problem. I think I will focus on Android for now, since iOS always gives me problems with Xcode and certificates