Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build with macos target #149

Open
de1mat opened this issue Feb 8, 2023 · 1 comment
Open

Cannot build with macos target #149

de1mat opened this issue Feb 8, 2023 · 1 comment

Comments

@de1mat
Copy link

de1mat commented Feb 8, 2023

So I have my project building for catalyst / macos using:

ti build -p ios -T macos

... but only with the Google Maps module removed from tiapp.xml.

When I include it in tiapp.xml I get the following errors:

[TRACE] Command line invocation:
[TRACE]     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build -target AppName -configuration Debug -scheme AppName -derivedDataPath /Users/Matthew/Titanium/AppName/build/iphone/DerivedData -UseNewBuildSystem=YES OBJROOT=/Users/Matthew/Titanium/AppName/build/iphone/build/Intermediates SHARED_PRECOMPS_DIR=/Users/Matthew/Titanium/AppName/build/iphone/build/Intermediates/PrecompiledHeaders SYMROOT=/Users/Matthew/Titanium/AppName/build/iphone/build/Products
[TRACE] User defaults from command line:
[TRACE]     IDEDerivedDataPathOverride = /Users/Matthew/Titanium/AppName/build/iphone/DerivedData
[TRACE]     IDEPackageSupportUseBuiltinSCM = YES
[TRACE]     UseNewBuildSystem = YES
[TRACE] Build settings from command line:
[TRACE]     OBJROOT = /Users/Matthew/Titanium/AppName/build/iphone/build/Intermediates
[TRACE]     SHARED_PRECOMPS_DIR = /Users/Matthew/Titanium/AppName/build/iphone/build/Intermediates/PrecompiledHeaders
[TRACE]     SYMROOT = /Users/Matthew/Titanium/AppName/build/iphone/build/Products
[TRACE] Prepare packages
[TRACE] Computing target dependency graph and provisioning inputs
[TRACE] Create build description
[TRACE] Build description signature: 05971e19b2799fcc7daf6ef7574c8842
[TRACE] Build description path: /Users/Matthew/Titanium/AppName/build/iphone/build/Intermediates/XCBuildData/05971e19b2799fcc7daf6ef7574c8842-desc.xcbuild
[TRACE] note: Building targets in dependency order
[TRACE] warning: `DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER` is not supported. Remove the build setting and conditionalize `PRODUCT_BUNDLE_IDENTIFIER` instead. (in target 'AppName' from project 'AppName')
[TRACE] warning: `DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER` is not supported. Remove the build setting and conditionalize `PRODUCT_BUNDLE_IDENTIFIER` instead. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMaps.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMaps.xcframework'. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsBase.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsBase.xcframework'. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsCore.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsCore.xcframework'. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsUtils.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GoogleMapsUtils.xcframework'. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GooglePlaces.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/platform/GooglePlaces.xcframework'. (in target 'AppName' from project 'AppName')
[TRACE] /Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/ti.googlemaps.xcframework:1:1: error: While building for Mac Catalyst, no library for this platform was found in '/Users/Matthew/Titanium/AppName/modules/iphone/ti.googlemaps/9.1.0/ti.googlemaps.xcframework'. (in target 'AppName' from project 'AppName')
[ERROR] --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[ERROR] { platform:macOS, arch:arm64, variant:Mac Catalyst, id:00006001-001210200A02801E }
[ERROR] { platform:macOS, arch:x86_64, variant:Mac Catalyst, id:00006001-001210200A02801E }
[ERROR] { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006001-001210200A02801E }
[ERROR] { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[ERROR] { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[ERROR] { platform:macOS, variant:Mac Catalyst, name:Any Mac }
[ERROR] { platform:iOS Simulator, id:FB7CF4EE-69A4-4243-A364-B9E25C721ED8, OS:13.7, name:iPad (7th generation) }
[ERROR] { platform:iOS Simulator, id:F3BB5D71-D687-4AF1-9119-4B9F32CA164A, OS:14.0.1, name:iPad (8th generation) }
[ERROR] { platform:iOS Simulator, id:6337A94E-05F9-420E-8EC5-EB636E502281, OS:16.2, name:iPad (9th generation) }
[ERROR] { platform:iOS Simulator, id:67FF7672-5129-4B81-BEC7-A1869E52FA84, OS:16.2, name:iPad (10th generation) }
[ERROR] { platform:iOS Simulator, id:117B5DD8-88DB-46FF-A51F-1CB357BD831B, OS:13.7, name:iPad Air (3rd generation) }
[ERROR] { platform:iOS Simulator, id:B69051CA-5C1E-45F4-9B2E-597BF69A20C1, OS:14.0.1, name:iPad Air (4th generation) }
[ERROR] { platform:iOS Simulator, id:6B436BC5-5D22-4C0E-BE4D-2A9E65DC408A, OS:16.2, name:iPad Air (5th generation) }
[ERROR] { platform:iOS Simulator, id:8B1F1A06-558F-466F-A5F9-2460F0DE2BC8, OS:13.7, name:iPad Pro (9.7-inch) }
[ERROR] { platform:iOS Simulator, id:1B0F05D4-E3D3-4F4F-A3B7-42A82338F0F6, OS:14.0.1, name:iPad Pro (9.7-inch) }
[ERROR] { platform:iOS Simulator, id:19C87224-7DA5-42CE-84ED-A391E2961351, OS:13.7, name:iPad Pro (11-inch) (2nd generation) }
[ERROR] { platform:iOS Simulator, id:B2255D47-265F-4ADE-8179-9B749A82830D, OS:14.0.1, name:iPad Pro (11-inch) (2nd generation) }
[ERROR] { platform:iOS Simulator, id:E96DF372-22FE-41CA-8FA1-A3A81E828CA3, OS:16.2, name:iPad Pro (11-inch) (3rd generation) }
[ERROR] { platform:iOS Simulator, id:07185221-FB1C-4BB9-A227-BECDBB8D88F5, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
[ERROR] { platform:iOS Simulator, id:4820E46D-31F1-4034-A40F-ADE2DE9A10E2, OS:16.2, name:iPad Pro (12.9-inch) (2nd generation) }
[ERROR] { platform:iOS Simulator, id:8D99AEC2-3574-44EB-BF1C-433BC46F6BC0, OS:13.7, name:iPad Pro (12.9-inch) (4th generation) }
[ERROR] { platform:iOS Simulator, id:E828B35D-3784-4666-8318-93E311001CA3, OS:14.0.1, name:iPad Pro (12.9-inch) (4th generation) }
[ERROR] { platform:iOS Simulator, id:3DB35094-A636-458A-AD77-6A197B240028, OS:16.2, name:iPad Pro (12.9-inch) (5th generation) }
[ERROR] { platform:iOS Simulator, id:3B03311B-E9BF-4C2D-8CB4-5366C42FD657, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
[ERROR] { platform:iOS Simulator, id:368C1487-2D0A-46D3-B2A2-E44556004ED9, OS:16.2, name:iPad mini (6th generation) }
[ERROR] { platform:iOS Simulator, id:C182E4AE-0D41-48A6-AFD5-E94C82ACF3BB, OS:16.2, name:iPhone 8 Plus }
[ERROR] { platform:iOS Simulator, id:1250CB23-726E-4379-A72F-90D40D288150, OS:13.7, name:iPhone 11 }
[ERROR] { platform:iOS Simulator, id:DF89A504-7B54-4AC2-BFFD-5142699F8FBE, OS:13.7, name:iPhone 11 Pro }
[ERROR] { platform:iOS Simulator, id:D22D8C72-E329-4B24-826E-94448F7622C7, OS:13.7, name:iPhone 11 Pro Max }
[ERROR] { platform:iOS Simulator, id:EBFF6DFD-C1F0-4763-BB81-8F23C7C9DB2F, OS:14.0.1, name:iPhone 11 Pro Max }
[ERROR] { platform:iOS Simulator, id:7D06A0B0-00B9-48B2-A06A-8A71F45F2351, OS:16.2, name:iPhone 11 Pro Max }
[ERROR] { platform:iOS Simulator, id:A58FF29E-5ACA-4C80-9A3A-DB267A9B28CA, OS:16.2, name:iPhone 14 }
[ERROR] { platform:iOS Simulator, id:D0070ACC-583A-433D-9E7E-B261D09E3FC9, OS:16.2, name:iPhone 14 Plus }
[ERROR] { platform:iOS Simulator, id:5B58CEE2-1392-46B8-848D-C632E917A092, OS:16.2, name:iPhone 14 Pro }
[ERROR] { platform:iOS Simulator, id:38F5166F-529D-4589-A08E-1BBCBAD51E4E, OS:16.2, name:iPhone 14 Pro Max }
[ERROR] { platform:iOS Simulator, id:E211DE98-7430-4EAE-BE09-A8A42E7AE03D, OS:13.7, name:iPhone SE (2nd generation) }
[ERROR] { platform:iOS Simulator, id:1E5B00DB-F6D6-42AF-9977-E707D91BDB96, OS:14.0.1, name:iPhone SE (2nd generation) }
[ERROR] { platform:iOS Simulator, id:435BA1CD-24AE-423E-889F-61AFE60A64E5, OS:16.2, name:iPhone SE (3rd generation) }
[ERROR] { platform:iOS Simulator, id:A208F81F-B282-4B41-BF37-83E36F9D0380, OS:16.2, name:iPhone Xs }
[ERROR] { platform:iOS Simulator, id:86229C6C-D4D0-45B5-9892-44BD3CF30C57, OS:14.0.1, name:iPod touch (7th generation) }
[ERROR] ** BUILD FAILED **
@hansemannn
Copy link
Owner

It does not include Catalyst binaries so far. If you can find Catalyst builds for Google Maps, you can PR them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants