{ "id": "110798", "key": "AC-2132", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-14T21:33:18.000+0000", "created": "2013-03-07T18:42:46.000+0000", "labels": [ "warning" ], "versions": [], "issuelinks": [ { "id": "26723", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "109059", "key": "TIMOB-12558", "fields": { "summary": "iOS: Allow external modules to use ARC", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:06.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "It seemed someone closed TIMOB-12558 early without actually fixing the __bridge errors. As I can't re-open that issue, I'll create a new one. In the original issue several suggestions how to fix this warnings are in the comment. Please choose one and implement it.\r\n\r\n/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/KrollContext.h:160:23: warning: '__bridge' casts have no effect when not using ARC [-Warc-bridge-casts-disallowed-in-nonarc]\r\n[TRACE] : \b\b \b KrollContext *ctx = (__bridge KrollContext*)TiObjectGetPrivate(TiValueToObject(globalContext, value, NULL));\r\n[TRACE] : \b\b \b ^~~~~~~~\r\n[TRACE] : \b\b \b1 warning generated.\r\n[TRACE] : \b\b \bCompileC build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/Objects-normal/i386/TiUIiPhoneAlertDialogStyleProxy.o Classes/TiUIiPhoneAlertDialogStyleProxy.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[TRACE] : \b\b \b cd \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone\"\r\n[TRACE] : \b\b \b setenv LANG en_US.US-ASCII\r\n[TRACE] : \b\b \b setenv PATH \"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/Users/steipete/bin:/usr/local/Cellar/autoconf/2.68/bin:/usr/local/Cellar/automake/1.11.3/bin:/usr/local/Cellar/libtool/2.4/bin:/usr/local/share/npm/bin:/Users/steipete/.rvm/bin\"\r\n[TRACE] : \b\b \b /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEPLOYTYPE=development -D__LOG__ID__=7dda6840-0fb4-45cd-956c-00f9177887f8 -DTI_DEVELOPMENT=1 -DDEBUG=1 -DTI_VERSION=3.0.2.GA -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=5.0 -iquote \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/PSPDFKitTest-generated-files.hmap\" \"-I/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/PSPDFKitTest-own-target-headers.hmap\" \"-I/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/PSPDFKitTest-all-target-headers.hmap\" -iquote \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/PSPDFKitTest-project-headers.hmap\" \"-I/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/Debug-iphonesimulator/include\" -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/usr/include/libxml2 -Iheaders \"-I/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/DerivedSources/i386\" \"-I/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/DerivedSources\" \"-F/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/Debug-iphonesimulator\" -DDEBUG -DTI_POST_1_2 -include /var/folders/mv/9rcn1htn54534mw79x894fs80000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/PSPDFKitTest_Prefix-fcpznfxeewctefanzpafvxerzhkt/PSPDFKitTest_Prefix.pch -MMD -MT dependencies -MF \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/Objects-normal/i386/TiUIiPhoneAlertDialogStyleProxy.d\" --serialize-diagnostics \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/Objects-normal/i386/TiUIiPhoneAlertDialogStyleProxy.dia\" -c \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/TiUIiPhoneAlertDialogStyleProxy.m\" -o \"/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/build/PSPDFKitTest.build/Debug-iphonesimulator/PSPDFKitTest.build/Objects-normal/i386/TiUIiPhoneAlertDialogStyleProxy.o\"\r\n[TRACE] : \b\b \bIn file included from /Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/TiUIiPhoneAlertDialogStyleProxy.m:11:\r\n[TRACE] : \b\b \bIn file included from /Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/TiUIiPhoneAlertDialogStyleProxy.h:11:\r\n[TRACE] : \b\b \bIn file included from /Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/TiProxy.h:10:\r\n[TRACE] : \b\b \bIn file included from /Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/TiEvaluator.h:10:\r\n[TRACE] : \b\b \b/Users/steipete/Documents/Titanium Studio Workspace/PSPDFKitTest/build/iphone/Classes/KrollContext.h:160:23: warning: '__bridge' casts have no effect when not using ARC [-Warc-bridge-casts-disallowed-in-nonarc]\r\n[TRACE] : \b\b \b KrollContext *ctx = (__bridge KrollContext*)TiObjectGetPrivate(TiValueToObject(globalContext, value, NULL));\r\n[TRACE] : \b\b \b ^~~~~~~~\r\n[TRACE] : \b\b \b1 warning generated.\r\n\r\n(and 50 more warnings of the same)", "attachment": [], "flagged": false, "summary": "iOS: Compiling the Xcode project gives warnings because TIMOB-12558 wasn't fully implemented.", "creator": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 3.0.2", "comment": { "comments": [ { "id": "241171", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "body": "As another alternative, you could simply hide this warning with un-setting [-Warc-bridge-casts-disallowed-in-nonarc]", "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-07T18:43:40.000+0000", "updated": "2013-03-07T18:43:40.000+0000" }, { "id": "242317", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I will re-open TIMOB-12258.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T21:33:18.000+0000", "updated": "2013-03-14T21:33:18.000+0000" }, { "id": "242321", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry I meant re-open TIMOB-12558. Literally no idea how that other number appeared on my clipboard :S", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T21:38:13.000+0000", "updated": "2013-03-14T21:38:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }