[TIMOB-19967] Ti.SafariDialog: Huge list of warnings after GenerateDSYMFile
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-25T18:07:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.1.2 |
Components | iOS |
Labels | safaridialog |
Reporter | Fokke Zandbergen |
Assignee | Hans Knöchel |
Created | 2015-11-13T09:49:55.000+0000 |
Updated | 2015-11-29T08:40:37.000+0000 |
Description
When I build a project that uses the new ti.safaridialog module I get a huge list of warnings, but the module does function as expected.
[TRACE] GenerateDSYMFile build/Products/Debug-iphonesimulator/Ti\ 5.1.0.app.dSYM build/Products/Debug-iphonesimulator/Ti\ 5.1.0.app/Ti\ 5.1.0
[TRACE] cd /Users/fokkezb/dev/samples/appc-sample-ti510/build/iphone
[TRACE] export 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:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/fokkezb/dev/bin/apache-ant-1.9.6/bin:/Users/fokkezb/dev/bin/android-ndk-r10e"
[TRACE] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/fokkezb/dev/samples/appc-sample-ti510/build/iphone/build/Products/Debug-iphonesimulator/Ti\ 5.1.0.app/Ti\ 5.1.0 -o /Users/fokkezb/dev/samples/appc-sample-ti510/build/iphone/build/Products/Debug-iphonesimulator/Ti\ 5.1.0.app.dSYM
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-ewjdfjcxlhzwxbfzvtmgnnmuqotc/TiSafaridialog_Prefix.pch.pch: No such file or directory
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-ewjdfjcxlhzwxbfzvtmgnnmuqotc/TiSafaridialog_Prefix.pch.pch: No object file for requested architecture
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSDictionary
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSMutableDictionary
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSArray
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSURL
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSString
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:@S@_opaque_pthread_rwlock_t
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSMutableArray
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSCondition
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)UIViewController
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSNumber
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSNotification
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)UIColor
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-ewjdfjcxlhzwxbfzvtmgnnmuqotc/TiSafaridialog_Prefix.pch.pch: No such file or directory
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-ewjdfjcxlhzwxbfzvtmgnnmuqotc/TiSafaridialog_Prefix.pch.pch: No object file for requested architecture
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSData
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSString
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-brisvvhtoruztqdxqtzphtqhveat/TiSafaridialog_Prefix.pch.pch: No such file or directory
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-brisvvhtoruztqdxqtzphtqhveat/TiSafaridialog_Prefix.pch.pch: No object file for requested architecture
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSDictionary
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSMutableDictionary
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSArray
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSURL
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSString
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:@S@_opaque_pthread_rwlock_t
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSMutableArray
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSCondition
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)UIViewController
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSNumber
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSNotification
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModule.o):
[TRACE] warning: Could not resolve external type c:objc(cs)UIColor
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-brisvvhtoruztqdxqtzphtqhveat/TiSafaridialog_Prefix.pch.pch: No such file or directory
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: /var/folders/yv/gl6_zqmj7ng870ln0vg15f1r0000gp/C/com.apple.DeveloperTools/7.1-7B91b/Xcode/SharedPrecompiledHeaders/TiSafaridialog_Prefix-brisvvhtoruztqdxqtzphtqhveat/TiSafaridialog_Prefix.pch.pch: No object file for requested architecture
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSObject
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSData
[TRACE] while processing /Users/fokkezb/Library/Application Support/Titanium/modules/iphone/ti.safaridialog/1.0.2/libti.safaridialog.a(TiSafaridialogModuleAssets.o):
[TRACE] warning: Could not resolve external type c:objc(cs)NSString
[TRACE]
[TRACE] CopySwiftLibs build/Products/Debug-iphonesimulator/Ti\ 5.1.0.app
Marking for 5.1.1 / 5.2.0, since it does not break anything and it is only a trace log. The compiler warning will be resolved using this solution: https://forums.developer.apple.com/thread/17921. {quote} After trying all the solution posted previously, I have found one that appears to work for the static library I work with. - This is what I needed to change to Off to remove all the warnings Precompile Prefix (Header GCC_PRECOMPILE_PREFIX_HEADER) = off - Many people disussed that dysm had to be turned off, I believe it is working with it enabled Debug Information Format (DEBUG_INFORMATION_FORMAT) = dwarf-with-dsym - Since the enable bitcode is really to enable markers, we can just turn it off to remove warnings Enable Bitcode (ENABLE_BITCODE) = NO - This flag is needed to all builds will actually embed the bitcode Other C Flags (OTHER_CFLAGS) = "-fembed-bitcode"; {quote}
[~fokkezb] please try [this version](https://github.com/appcelerator-modules/Ti.SafariDialog/releases/download/untagged-71327a0630e9922d798d/ti.safaridialog-iphone-1.0.3.zip) before I submit the PR. Thanks!
[~hansknoechel] I'd be happy to but that URL is 404 and the 1.0.3 release I can't find.
[~fokkezb], ok it was a draft release. [>>> Check it ouutttt heree!<<<](https://www.dropbox.com/s/owwj0gg1kuvdmdi/ti.safaridialog-iphone-1.0.3.zip?dl=0)
Verified fixed! No more warnings.
PR (ti.safaridialog/master): https://github.com/appcelerator-modules/Ti.SafariDialog/pull/5 PR (titanium_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/7490 PR (titanium_mobile/5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7491
CR and FT approved. PR approved. Thanks Hans!
Verified fixed, using: MacOS 10.11.2 (15C47a) Studio 4.4.0.201511241829 Ti SDK 5.1.2.v20151124185220 Appc NPM 4.2.2 Appc CLI 5.1.0 Ti CLI 5.0.5 Alloy 1.7.26 Arrow 1.3.22 Xcode 7.1.1 (7B1005) Node v0.12.7 Java 1.7.0_80 production No warnings/errors appear when using the Ti.SafariDialog module. Tested using the 1.0.3 module and the example test provided with it.
Hey [~hansknoechel] is this something we can resolve on our side somehow? I have lots of modules (including ti.touchid) running into this: