You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/27 10:26:58 UTC

[GitHub] [cordova-plugin-inappbrowser] kleeb commented on issue #583: iOS - build fails if using "WKWebViewOnly" preference

kleeb commented on issue #583: iOS - build fails if using "WKWebViewOnly" preference
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/583#issuecomment-559027260
 
 
   True, inappbrowser still uses UIWebview in some parts of the code
   
   `CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Objects-normal/armv7/CDVInAppBrowser.o Ondrowa/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
       cd /Users/vagrant/git/platforms/ios
       export LANG=en_US.US-ASCII
       export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Users/vagrant/.bitrise/tools:/Users/vagrant/.jenv/shims:/Users/vagrant/.rbenv/shims:/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/vagrant/.jenv/shims:/Users/vagrant/.rbenv/shims:/usr/local/sbin:/Users/vagrant/bin:/usr/local/opt/go/libexec/bin:/Users/vagrant/go/bin:/Users/vagrant/bitrise/tools/cmd-bridge/bin/osx:/opt/android-ndk:/usr/local/share/android-sdk/tools:/usr/local/share/android-sdk/tools/bin:/usr/local/share/android-sdk/platform-tools:/usr/local/flutter/bin:/Users/vagrant/.jenv/bin:/usr/local/opt/go/libexec/bin:/Users/vagrant/go/bin:/Users/vagrant/bitrise/tools/cmd-bridge/bin/osx:/opt/android-ndk:/usr/local/share/android-sdk/tools:/usr/local/share/android-sdk/tools/bin:/usr/local/share/android-sdk/platform-tools:/usr/local/flutter/bin:/Users/vagrant/.jenv/bin"
       /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target armv7-apple-ios10.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/vagrant/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vagrant/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DWK_WEB_VIEW_ONLY=1 -DCOCOAPODS=1 -DWK_WEB_VIEW_ONLY=1 -DGPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 -DWK_WEB_VIEW_ONLY=1 -DPB_FIELD_32BIT=1 -DPB_NO_PACKED_STRUCTS=1 -DPB_ENABLE_MALLOC=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Ondrowa-generated-files.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Ondrowa-own-target-headers.hmap -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Ondrowa-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/all-product-headers.yaml -iquote /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Ondrowa-project-headers.hmap -I/Users/vagrant/git/platforms/ios/build/device/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/InstallationBuildProductsLocation/Applications/usr/local/lib/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/UninstalledProducts/include -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include -I/Users/vagrant/git/platforms/ios/build/device -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseABTesting/FirebaseABTesting.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseAuth/FirebaseAuth.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseCore/FirebaseCore.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseMessaging/FirebaseMessaging.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig/FirebaseRemoteConfig.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GTMSessionFetcher/GTMSessionFetcher.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac/GoogleToolboxForMac.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/Protobuf/protobuf.framework/Headers -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/nanopb/nanopb.framework/Headers -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public/Firebase -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public/FirebaseAnalyticsInterop -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public/FirebaseAuthInterop -I/Users/vagrant/git/platforms/ios/Pods/Headers/Public/FirebaseCoreDiagnosticsInterop -I/Users/vagrant/git/platforms/ios/Pods/Firebase/CoreOnly/Sources -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/DerivedSources-normal/armv7 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/DerivedSources/armv7 -I/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/DerivedSources -F/Users/vagrant/git/platforms/ios/build/device -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseABTesting -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseAuth -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseCore -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseInstanceID -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseMessaging -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/FirebaseRemoteConfig -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GTMSessionFetcher -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleDataTransport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleDataTransportCCTSupport -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleToolboxForMac -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/GoogleUtilities -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/Protobuf -F/Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/BuildProductsPath/Release-iphoneos/nanopb -F/Users/vagrant/git/platforms/ios/Pods/Crashlytics/iOS -F/Users/vagrant/git/platforms/ios/Pods/Fabric/iOS -F/Users/vagrant/git/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/vagrant/git/platforms/ios/Pods/FirebasePerformance/Frameworks -F/Users/vagrant/git/platforms/ios/Pods/GoogleAppMeasurement/Frameworks -include /Users/vagrant/git/platforms/ios/build/sharedpch/Ondrowa-Prefix-awksqhvofjbsjxdhrkcbdagvaqxd/Ondrowa-Prefix.pch -MMD -MT dependencies -MF /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Objects-normal/armv7/CDVInAppBrowser.d --serialize-diagnostics /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Objects-normal/armv7/CDVInAppBrowser.dia -c /Users/vagrant/git/platforms/ios/Ondrowa/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m -o /Users/vagrant/Library/Developer/Xcode/DerivedData/Ondrowa-hakpcouewcxruugbaiotbdmxnayz/Build/Intermediates.noindex/ArchiveIntermediates/Ondrowa/IntermediateBuildFilesPath/Ondrowa.build/Release-iphoneos/Ondrowa.build/Objects-normal/armv7/CDVInAppBrowser.o
   In file included from /Users/vagrant/git/platforms/ios/Ondrowa/Plugins/cordova-plugin-inappbrowser/CDVInAppBrowser.m:22:
   /Users/vagrant/git/platforms/ios/Ondrowa/Plugins/cordova-plugin-inappbrowser/CDVUIInAppBrowser.h:64:5: error: unknown type name 'CDVUIWebViewDelegate'
       CDVUIWebViewDelegate* _webViewDelegate;
       ^
   1 error generated.`
   
   
   further reading:
   https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/
   https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html
   https://github.com/apache/cordova-ios/pull/715

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org