[AC-2076] Titanium Mobile fails to build to iPhone Device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-03-22T16:26:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | SDK, build, error, ios, mobile |
Reporter | Colton Arabsky |
Assignee | Davide Cassenti |
Created | 2013-03-21T23:58:21.000+0000 |
Updated | 2016-03-08T07:41:02.000+0000 |
Description
Build the project for device testing, Titanium Studio errors with the following:
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : CompileC Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[ERROR] : (1 failure)
I turned on Trace and got the following errors:
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:4792:2: error: unexpected interface name 'NSNumber': expected expression
[TRACE] : NSNumber *index = [map objectForKey:path];
[TRACE] : ^
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:4792:21: error: use of undeclared identifier 'map'
[TRACE] : NSNumber *index = [map objectForKey:path];
[TRACE] : ^
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:4797:5: error: expected ';' at end of declaration
[TRACE] : @end
[TRACE] : ^
[TRACE] : ;
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:4797:5: error: expected '}'
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:18:1: note: to match this '{'
[TRACE] : {
[TRACE] : ^
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:4797:5: error: missing '@end'
[TRACE] : @end
[TRACE] : ^
[TRACE] : /Users/coltonarabsky/Documents/App Development/Titanium Studio Workspace/MyProject/build/iphone/Classes/ApplicationRouting.m:15:1: note: implementation started here
[TRACE] : @implementation ApplicationRouting
[TRACE] : ^
[TRACE] : 5 errors generated.
Hello, Can you please post more information about your project? Does it happpen with an empty project as well? Are you using Studio?
Since We have not heard back from you in a while, we are not sure if you still get the error you reported. The associated platform bug TiMOB-13984 has been fixed. Therefore, we believe your issue might be fixed as well. If not, please send us details so that we can take next necessary step to fix.