ludolphus / TInstabug

I'm no longer maintaining this module, please check out this module: https://github.com/inthekloud/ITK.Instabug The Instabug Appcelerator module gives you instant bug reporting for mobile iOS apps by allowing your users to draw on the screen and attach text feedback.
https://github.com/ludolphus/TInstabug/blob/master/documentation/index.md
Other
8 stars 3 forks source link

Framework not found #1

Closed caspahouzer closed 10 years ago

caspahouzer commented 10 years ago

Got the following lines on build with your dist

[TRACE] ld: framework not found Instabug [TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] 2014-05-13 15:48:13.701 xcodebuild[70726:507] Lin ver.2.0 was successfully loaded. [ERROR] \ BUILD FAILED ** [ERROR] The following build commands failed: [ERROR] Ld build/Debug-iphonesimulator/Lukas\ Krhs.app/Lukas\ Krhs normal i386 [ERROR](1 failure)

Any help?

ludolphus commented 10 years ago

I forgot to include the Instabug framework in the zip. Also some other files were missing that prevent to build the module yourself. All should be ok now. Please redownload the https://github.com/ludolphus/TInstabug/blob/master/dist/com.instabug-iphone-1.6.zip

caspahouzer commented 10 years ago

Unfortunately not solved. Same error. Downloaded complete project and tried to build it myself. Also throwing clang errors and /Volumes/Data/Users/sebastian/Downloads/TInstabug-master/Classes/ComInstabugModule.m:11:9: fatal error: 'Instabug/Instabug.h' file not found

ludolphus commented 10 years ago

can you try this in the root of the project and try a build of the module:

touch ComInstabug_Prefix.pch

the file seems to have an old timestamp.

After creating your own module zip, you should copy the Instabug.framework to the root of the extracted module. In this case to the ~/Library/Application Support/Titanium/modules/iphone/com.instabug/1.6 folder.

(I haven't found a way to do that automatically yet)

ludolphus commented 10 years ago

I just used the zip from the dist folder on github in an app build and that works for me.

caspahouzer commented 10 years ago

For me now too.

just moved the module from project/modules to system modules folder.

Thanks for your help

ludolphus commented 10 years ago

you're welcome. glad it's solved :)