Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1096] Build product fails to compile for iOS 8 in Xcode

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-07-21T21:32:10.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage, ios8, xcode
ReporterGeoffrey Hoffman
AssigneeMostafizur Rahman
Created2014-10-22T18:08:36.000+0000
Updated2016-03-08T07:37:27.000+0000

Description

I've created a Package -> App Store then opened the build product file projectname.xcodeproj into Xcode, and attached all the icons to the AppIcons bundle and edited info.plist, but when I build I get these errors (red Stop exclamation)... in KrollMethod.m : /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/KrollMethod.m:267:28: Too many arguments to function call, expected 0, have 5 then here also in KrollContext.m : /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/KrollContext.m:1478:29: Too many arguments to function call, expected 0, have 6 ... Plus 7 errors as well (yellow warning errors) in various files ... /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/PlausibleDatabase/PLSqliteDatabase.m:522:1: Category is implementing a method which will also be implemented by its primary class /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/TiUtils.h:449:1: Multiple declarations of method 'intValue:def:' found and ignored /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/PlausibleDatabase/PLSqliteResultSet.m:267:46: Implicit conversion loses integer precision: 'int64_t' (aka 'long long') to 'long' /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/TiUITableView.h:74:2: 'UISearchDisplayController' is deprecated: first deprecated in iOS 8.0 - UISearchDisplayController has been replaced with UISearchController /Users/me/Documents/Personal/Titanium_Studio_Workspace/projectname/build/iphone/Classes/TiUITableView.h:100:1: Multiple declarations of method 'tableRowHeight:' found and ignored This is when using iOS 8 sdk & Ti 3.4.0 GA, and all builds succeed on sims and connected devices running iOS 8.0.2. ••• Possible Workaround: Set build target to iOS 7.1 in Xcode •••

Comments

No comments

JSON Source