Still not able to install on iphone greater than Ti SDK 1.3.0 & 3.2
I have tried everything now but still get install error anything greater that 1.3.0 and 3.2?
SImulator works fine with 1.4.0 and 4.0.
I have tried deleting the build folder, removed the app from iTunes and deleted it from the iPhone. to get it back on the iphone it will only do it set to 1.3.0 and 3.2. It will not istall on 1.3.2 or 1.3.3 either.
I have tried building on simulator via Xcode and thats fine. When trying to build on device i get build fail.
1 error: Command /bin/sh failed with exit code 2
I really want to get this sorted now as its holding me back :(
versions:
xcode 3.2.3 iTunes 9.2.1.(5) Titanium 1.2.1 SDK 1.4.0 4.0
Many thanks in advance.
Mark
4 Answers
-
UPDATE.
This is the part of the build log. I have change the app name to AppName
BUILD FAILED
The following build commands failed:
AppName:
PhaseScriptExecution Pre-Compile /Users/markpierce/Desktop/AppNameFolder/AppName/build/iphone/build/AppName.build/Release-iphoneos/AppName.build/Script-241EAF36118E30260081A5BE.sh
(1 failure)EXIT CODE WAS: 1
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 962, in main
execute_xcode("iphoneos%s" % iphone_version,args,False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1Does this mean anything to anyone :)
Thanks
-
UPDATE
I created a new project and now the Install error happens instantly. It looks like its trying to find an old provision. But I have been through all the motions as described by everyone. where is it getting the old one from when its showing the correct one in the run on device window?
Build output:
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 524, in main
provisioning_profile = read_provisioning_profile(pp,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 171, in read_provisioning_profile
f = open(f,'rb').read()
IOError: [Errno 2] No such file or directory: u'/Users/markpierce/Library/MobileDevice/Provisioning Profiles/37DC05CC-28BA-4AC8-B450-CC8FAABDFB41.mobileprovision' -
UPDATE.
Got it to install now. 2 Issues
first issue. A corrupt png file was produccing an error in the build log. deleted the image and it worked
Second issue if the .mobileprovision is the mobile device folder it still shows an install error. SO i linked to a local version of the file and it istalls fine. that was just luck finding that!
Now the local sqlite database randomly loads or not now ! ARRRH! works fine in 1.3.0 :(
Has there been any major changes to database since 1.30. and 1.4.0?
Thanks
-
Yes this still fails. Does the Kitchen Sink need a plumber?
/Users/MY_USERNAME/dev/titanium-kitchensink/KitchenSink/KitchenSink/KitchenSink.build/Debug-iphonesimulator/KitchenSink.build/Script-241EAF36118E30260081A5BE.sh: line 2: /Users/kevin/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py: No such file or directory
Who is /Users/kevin and why is he hard coded in some build script from git-hub? Can't this directory/file just be relative path or rather perhaps included in some directory called build-helpers/ or misc/?