[ https://issues.apache.org/jira/browse/CB-12435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887214#comment-15887214 ]
Shazron Abdullah commented on CB-12435: --------------------------------------- How can I repro this? Just a plain new Cordova project, or with some plugins? > Cordova iOS template 'C Language Dialect : C99[-std=c99]' cause Xcode compile > error > ----------------------------------------------------------------------------------- > > Key: CB-12435 > URL: https://issues.apache.org/jira/browse/CB-12435 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS > Affects Versions: 3.5.0 > Reporter: Carl > Priority: Minor > Fix For: cordova-ios@4.4.0 > > > The Cordova iOS template use C Language Dialect as C99[-std=c99], which will > make Xcode complain an error: > '__weak' only applies to Objective-C object or block pointer types; type here > is 'int' > and I search google, try to change this value to GNU99(-std=gnu99) which fix > this problem, refer from > https://github.com/nst/STTwitter/issues/230#issuecomment-158335695 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org