I was just about to test analytics for my updated app and was integrating Flurry only to get non-Flurry related errors
Something to do with Lua socket. Here is the Xcode log:
Ld /Users/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Products/Debug-iphoneos/Energy\ Collector\ Grid\ Wars.app/Energy\ Collector\ Grid\ Wars normal armv7
cd "/Users/amaximov/Documents/Gideros Projects/Energy Collector Grid Wars/iOS Export/Energy Collector Grid Wars"
setenv IPHONEOS_DEPLOYMENT_TARGET 5.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/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Products/Debug-iphoneos -L\"/Users/amaximov/Documents/Gideros\ Projects/Energy\ Collector\ Grid\ Wars/iOS\ Export/Energy\ Collector\ Grid\ Wars/Energy\ Collector\ Grid\ Wars/Plugins\" -L\"/Users/amaximov/Documents/Gideros\ Projects/Energy\ Collector\ Grid\ Wars/iOS\ Export/Energy\ Collector\ Grid\ Wars/Energy\ Collector\ Grid\ Wars\" -L/Users/amaximov/Documents/Gideros\ Projects/Energy\ Collector\ Grid\ Wars/iOS\ Export/Energy\ Collector\ Grid\ Wars/Energy\ Collector\ Grid\ Wars -F/Users/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Products/Debug-iphoneos -F/Users/amaximov/Documents/Gideros\ Projects/Energy\ Collector\ Grid\ Wars/iOS\ Export/Energy\ Collector\ Grid\ Wars -filelist /Users/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Intermediates/Energy\ Collector\ Grid\ Wars.build/Debug-iphoneos/Energy\ Collector\ Grid\ Wars.build/Objects-normal/armv7/Energy\ Collector\ Grid\ Wars.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=5.0 -framework AudioToolbox -framework AVFoundation -framework CoreAudio -framework CoreLocation -weak_framework CoreMotion -weak_framework GameKit -weak_framework iAd -lsqlite3 -lz -framework OpenAL -framework QuartzCore -framework StoreKit -lFlurry_4.2.4 -framework UIKit -framework Foundation -framework CoreGraphics -framework OpenGLES -lluasocket -lgideros -framework FacebookSDK -Xlinker -dependency_info -Xlinker /Users/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Intermediates/Energy\ Collector\ Grid\ Wars.build/Debug-iphoneos/Energy\ Collector\ Grid\ Wars.build/Objects-normal/armv7/Energy\ Collector\ Grid\ Wars_dependency_info.dat -o /Users/amaximov/Library/Developer/Xcode/DerivedData/Energy_Collector_Grid_Wars-fhrdzayxtwmdxxhgyvosolyysoeq/Build/Products/Debug-iphoneos/Energy\ Collector\ Grid\ Wars.app/Energy\ Collector\ Grid\ Wars
ld: warning: directory not found for option '-L"/Users/amaximov/Documents/Gideros Projects/Energy Collector Grid Wars/iOS Export/Energy Collector Grid Wars/Energy Collector Grid Wars/Plugins"'
ld: warning: directory not found for option '-L"/Users/amaximov/Documents/Gideros Projects/Energy Collector Grid Wars/iOS Export/Energy Collector Grid Wars/Energy Collector Grid Wars"'
ld: library not found for -lluasocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I verified that I do have "libluasocket.a" and all originally exported libs and source files so I can't figure out whats wrong. I am not a native developer so sorry if this is a trivial issue
Comments
ld: warning: directory not found for option '-L"/Users/amaximov/Documents/Gideros Projects/Energy Collector Grid Wars/iOS Export/Energy Collector Grid Wars/Energy Collector Grid Wars/Plugins"'
ld: warning: directory not found for option '-L"/Users/amaximov/Documents/Gideros Projects/Energy Collector Grid Wars/iOS Export/Energy Collector Grid Wars/Energy Collector Grid Wars"'
ld: library not found for -lgideros
clang: error: linker command failed with exit code 1 (use -v to see invocation)
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
1) Have working Xcode project that I test if it builds => Success
2) Add Security.framework and test if that builds => Success
3) Add SystemConfiguration.framework and test if that builds => Success
3) Add Flurry folder with Flurry.h and libFlurry_4.2.4.a and test if builds => FAIL
w/ Error:
"ld: library not found for -lluasocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
4) Remove Flurry folder from Xcode project and test if builds => FAIL (same error)
In the end I need to delete my Xcode project and get the old working backup to restart the process of integrating Flurry and figuring out what is wrong.
Could it be something to do with my build settings (armv6/armv7) ?
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
And when removing Flurry project still does not work, meaning Flurry is not completely removed and you need to go to your Project > Target > Build Settings and search for 'Library_Search_Paths". And remove all references to the Flurry sdk.
Now for why it could be happening, most probably missing some framework or target build is too low.
So it seems that now Flurry needs:
SystemConfiguration.framework
Security.framework
AdSupport.framework
Ensure you have added all of them
And the lowest IOS version for Flurry seems to be IOS5 now, to set target build to it.
Also there may be incompatibilities with xcode 5, which might be resolved with new export template once that is released
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
I have similar problem (please look at attachment)
By the way I updated Gideros to v2013.09
Thanks for your help.
Anybody with any solutions at all? I've raised a support ticket with Flurry too, fingers crossed someone comes up with a solution for this
Here is how you can solve it:
http://www.giderosmobile.com/forum/discussion/comment/30711#Comment_30711
Likes: dominikusdp