Channel: Appcelerator Developer Center Q&A Tag Feed (device)
People Here Also Viewed:
Viewing all articles
Browse latest Browse all 250

build on ios simulator but fail on ios Device


Hello, I use Titanium SDK 3.0.2.GA, Xcode 4.6 and iOS SDK 6.1.

When I run my app on the iOS SImulator it works but when i try on ios device it fail :

[ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/ondevice.build/Debug-iphoneos/ondevice.build/Objects-normal/armv7/ApplicationRouting.o Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (1 failure)

When I open the project in Xcode and try to run on the device i have an error in the file ApplicationRouting.m

It's not fully generated :

    NSNumber *index = [map objectForKey:path];
    if (index == nil) { return nil; }
    return filterDataInRange([NSData dataWithBytesNoCopy:data length:sizeof(data) freeWhenDone:NO], ranges[index.integerValue]);
You can see the the line is not complete ",0xe7,0x19,0x68,0xf7,0xbc,0x09,0xc3,0xf8,0x7c,0x5c,0x5d,0x30,0xac,0x81,0x37,0x74,0xb"

Sometime it works, and i change a textLabel color, and it don't work :'(

If someone can help me :)


Viewing all articles
Browse latest Browse all 250

Latest Images

Trending Articles

Latest Images