pec1985 / TiSMSView

Expandable Text Area Module - iOS - Titanium
Other
60 stars 18 forks source link

Installing on iOS device produces error #44

Closed caspahouzer closed 12 years ago

caspahouzer commented 13 years ago

In simulator everything looks fine, but installing the app with Ti.SmsView on device, it produces

[ERROR] Error: Traceback (most recent call last):
  File "/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/1.7.3/iphone/builder.py", line 1305, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/1.7.3/iphone/builder.py", line 1066, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/1.7.3/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 65

on build

pec1985 commented 13 years ago

I need to see your tiapp.xml as well as the javascript line of code where you are including the module.

When including the module, it has to be all case-sensitive.

Ti.SMSView = require('ti.smsview');
caspahouzer commented 13 years ago

My XML

<modules>
        <module version="1.0">ti.smsview</module>
</modules>

and here is my code: http://pastie.org/2766202

pec1985 commented 13 years ago

Open the project in Xcode (found in build/iphone/) and build it from there. I've been using this module for one opt my apps for over a month now, and not seeing any problems while running it on the device.

euforic commented 13 years ago

I am having the same issue. I compiled the module from current git repo.

Tested on 1.7.5 and 1.8.0v20111104160655

pec1985 commented 13 years ago

Check at the bottom of this wiki page: http://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide

Look for: Compiling modules with Xcode 4.2

This might be the problem you're running into.

euforic commented 13 years ago

Yep that fixed it thanks!