PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

[iOS] FirebaseCore not found

Open freefugga opened this issue 2 years ago • 10 comments

Screenshot 2022-03-10 at 11 06 10 PM

Hi, I am facing this issue while buidling the app. I changed nothing... just downloaded, installed pods as directed in steps and pressed build button. Please help. I need to deliver the app quickly. :)

freefugga avatar Mar 10 '22 17:03 freefugga

Hello freefugga, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

ghost avatar Mar 10 '22 17:03 ghost

PWA URL is https://vegafood.in

freefugga avatar Mar 10 '22 17:03 freefugga

Any updates on this please?

freefugga avatar Mar 12 '22 08:03 freefugga

any update on this?

deividcingolani avatar Mar 23 '22 02:03 deividcingolani

Any update in this, please?

freefugga avatar Apr 23 '22 05:04 freefugga

I wonder if this is related to #2813? The team has been busy and we don't anticipate to have time to fix this in the immediate future - we could use the help here if anyone is interested in submitting a PR.

nmetulev avatar Apr 26 '22 17:04 nmetulev

Get the same issue tried on XCode 11.3 and also on azure pipelines hosted agent.

pod install doesn't seem to show issues: Starting: CocoaPods /usr/local/lib/ruby/gems/2.7.0/bin/pod --version 1.11.3 /usr/local/lib/ruby/gems/2.7.0/bin/pod install Analyzing dependencies Adding spec repo trunk with CDN [https://cdn.cocoapods.org/](https://cdn.cocoapods.org/%60) Downloading dependencies Installing Firebase (9.0.0) Installing FirebaseCore (9.0.0) Installing FirebaseCoreDiagnostics (9.0.0) Installing FirebaseCoreInternal (9.0.0) Installing FirebaseInstallations (9.0.0) Installing FirebaseMessaging (9.0.0) Installing GoogleDataTransport (9.1.4) Installing GoogleUtilities (7.7.0) Installing PromisesObjC (2.1.0) Installing nanopb (2.30908.0) Generating Pods project Integrating client project Pod installation complete! There is 1 dependency from the Podfile and 10 total pods installed. Finishing: CocoaPods

Build logs: 2022-05-13T16:27:23.9381620Z ##[section]Starting: Xcode 2022-05-13T16:27:23.9396130Z ============================================================================== 2022-05-13T16:27:23.9396470Z Task : Xcode 2022-05-13T16:27:23.9396800Z Description : Build, test, or archive an Xcode workspace on macOS. Optionally package an app. 2022-05-13T16:27:23.9397180Z Version : 5.200.0 2022-05-13T16:27:23.9397410Z Author : Microsoft Corporation 2022-05-13T16:27:23.9397740Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/xcode 2022-05-13T16:27:23.9398670Z ============================================================================== 2022-05-13T16:27:24.2857750Z [command]/usr/bin/xcodebuild -workspace /Users/runner/work/1/s/Kooma.xcodeproj/project.xcworkspace -list 2022-05-13T16:27:25.9114000Z Command line invocation: 2022-05-13T16:27:25.9120810Z /Applications/Xcode_13.2.1.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/runner/work/1/s/Kooma.xcodeproj/project.xcworkspace -list 2022-05-13T16:27:25.9121480Z 2022-05-13T16:27:25.9125160Z User defaults from command line: 2022-05-13T16:27:25.9126040Z IDEPackageSupportUseBuiltinSCM = YES 2022-05-13T16:27:25.9126700Z 2022-05-13T16:27:29.0547510Z Information about workspace "Kooma": 2022-05-13T16:27:29.0648530Z Schemes: 2022-05-13T16:27:29.0683140Z Kooma 2022-05-13T16:27:29.0695810Z 2022-05-13T16:27:29.1122650Z The workspace contains a single shared scheme. 'Kooma' will be used. 2022-05-13T16:27:29.1142890Z [command]/usr/bin/xcodebuild -version 2022-05-13T16:27:29.2754940Z Xcode 13.2.1 2022-05-13T16:27:29.2776670Z Build version 13C100 2022-05-13T16:27:29.2926580Z [command]/usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace /Users/runner/work/1/s/Kooma.xcodeproj/project.xcworkspace -scheme Kooma build CODE_SIGNING_ALLOWED=NO | /usr/local/lib/ruby/gems/2.7.0/bin/xcpretty -r junit --no-color 2022-05-13T16:27:31.3907560Z --- xcodebuild: WARNING: Using the first of multiple matching destinations: 2022-05-13T16:27:31.3909670Z { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } 2022-05-13T16:27:31.3911080Z { platform:macOS, arch:x86_64, variant:Mac Catalyst, id:4203018E-580F-C1B5-9525-B745CECA79EB } 2022-05-13T16:27:31.3913540Z { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } 2022-05-13T16:27:31.3914310Z { platform:macOS, variant:Mac Catalyst, name:Any Mac } 2022-05-13T16:27:31.3915600Z { platform:iOS Simulator, id:08A5856B-DB4E-4E0D-B533-D3DC1B42A218, OS:15.2, name:iPad (7th generation) } 2022-05-13T16:27:31.3916820Z { platform:iOS Simulator, id:A6A4BBF0-CB9D-47A2-A593-EFDECCF0E53A, OS:15.2, name:iPad (8th generation) } 2022-05-13T16:27:31.3918000Z { platform:iOS Simulator, id:F42E2449-8C88-497D-BA81-58979BFCBCBC, OS:15.2, name:iPad (9th generation) } 2022-05-13T16:27:31.3919200Z { platform:iOS Simulator, id:1BEA333B-98CF-4CFB-8FEF-4D9D60F88D68, OS:15.2, name:iPad Air (3rd generation) } 2022-05-13T16:27:31.3921520Z { platform:iOS Simulator, id:144FEE14-C712-40CA-B81E-76661F1C922E, OS:15.2, name:iPad Air (4th generation) } 2022-05-13T16:27:31.3922880Z { platform:iOS Simulator, id:3CFFF9BD-5FF3-4D57-B289-108EA23CDDC3, OS:15.2, name:iPad Pro (9.7-inch) } 2022-05-13T16:27:31.3924130Z { platform:iOS Simulator, id:59CF15B2-9077-4070-AF23-CA798DDD8538, OS:15.2, name:iPad Pro (11-inch) (2nd generation) } 2022-05-13T16:27:31.3925360Z { platform:iOS Simulator, id:FE3DD6B0-85A1-4589-ABE1-E73491688681, OS:15.2, name:iPad Pro (11-inch) (3rd generation) } 2022-05-13T16:27:31.3926640Z { platform:iOS Simulator, id:76877785-AE54-49B7-81B7-2A99727500D0, OS:15.2, name:iPad Pro (12.9-inch) (4th generation) } 2022-05-13T16:27:31.3927870Z { platform:iOS Simulator, id:ED39CF74-C8BE-41C6-AD3B-DBC236DFA568, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) } 2022-05-13T16:27:31.3929090Z { platform:iOS Simulator, id:E721D346-34B2-4E1A-B8D7-D25CDA47B507, OS:15.2, name:iPad mini (6th generation) } 2022-05-13T16:27:31.3930490Z { platform:iOS Simulator, id:C2E4AC59-FD17-411B-B9C9-827785422370, OS:15.2, name:iPhone 8 } 2022-05-13T16:27:31.3932290Z { platform:iOS Simulator, id:22D8CB4F-A7D3-4C76-8A4C-CDF5B9AE3B64, OS:15.2, name:iPhone 8 Plus } 2022-05-13T16:27:31.3933410Z { platform:iOS Simulator, id:2AD83EA1-475B-4208-9A10-BBAE72233B65, OS:15.2, name:iPhone 11 } 2022-05-13T16:27:31.3934540Z { platform:iOS Simulator, id:844E7976-8B65-4DCA-AFD0-0D97878C6B60, OS:15.2, name:iPhone 11 Pro } 2022-05-13T16:27:31.3936230Z { platform:iOS Simulator, id:34F3F81A-BC0C-4767-8A6E-FA57EED2CEDD, OS:15.2, name:iPhone 11 Pro Max } 2022-05-13T16:27:31.3937360Z { platform:iOS Simulator, id:DC371B73-46CC-4F48-BAF2-C63467773473, OS:15.2, name:iPhone 12 } 2022-05-13T16:27:31.3939230Z { platform:iOS Simulator, id:86FC9AEB-FB38-43EF-8ADF-5C7D67ABEBC0, OS:15.2, name:iPhone 12 Pro } 2022-05-13T16:27:31.3940420Z { platform:iOS Simulator, id:D36E1113-4389-466F-9372-03B902ACDA10, OS:15.2, name:iPhone 12 Pro Max } 2022-05-13T16:27:31.3942040Z { platform:iOS Simulator, id:50EC9D59-6B4F-47B3-8570-3E505CE842DC, OS:15.2, name:iPhone 12 mini } 2022-05-13T16:27:31.3943460Z { platform:iOS Simulator, id:190AB05B-2C1D-4DD8-A3F5-275FE29ADF10, OS:15.2, name:iPhone 13 } 2022-05-13T16:27:31.3945020Z { platform:iOS Simulator, id:7777A545-93AF-47D9-B8D5-8B36266F7462, OS:15.2, name:iPhone 13 Pro } 2022-05-13T16:27:31.3946480Z { platform:iOS Simulator, id:A06F71FC-0B53-4741-AD85-D237B6FB06A0, OS:15.2, name:iPhone 13 Pro Max } 2022-05-13T16:27:31.3948070Z { platform:iOS Simulator, id:E391EF58-A527-4490-9AC5-063029E7E835, OS:15.2, name:iPhone 13 mini } 2022-05-13T16:27:31.3949450Z { platform:iOS Simulator, id:143A9402-9464-467D-9A50-7ED897A9282C, OS:15.2, name:iPhone SE (2nd generation) } 2022-05-13T16:27:31.3951080Z { platform:iOS Simulator, id:AAC603FD-8EE9-4676-B1FC-C29C65346A7A, OS:15.2, name:iPod touch (7th generation) } 2022-05-13T16:27:35.4275820Z ▸ Running script '[CP] Check Pods Manifest.lock' 2022-05-13T16:27:43.2862320Z 2022-05-13T16:27:43.2864880Z ❌ /Users/runner/work/1/s/Kooma/AppDelegate.swift:2:8: no such module 'FirebaseCore' 2022-05-13T16:27:43.2865820Z 2022-05-13T16:27:43.2866620Z import FirebaseCore 2022-05-13T16:27:43.2867380Z ^ 2022-05-13T16:27:43.2867920Z 2022-05-13T16:27:43.2868440Z 2022-05-13T16:27:43.7168430Z ** BUILD FAILED ** 2022-05-13T16:27:43.7169840Z 2022-05-13T16:27:43.7170680Z 2022-05-13T16:27:43.7171470Z The following build commands failed: 2022-05-13T16:27:43.7173290Z CompileSwift normal arm64 (in target 'Kooma' from project 'Kooma') 2022-05-13T16:27:43.7183090Z CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Kooma' from project 'Kooma') 2022-05-13T16:27:43.7186000Z (2 failures) 2022-05-13T16:27:43.7736100Z ##[error]Error: /usr/bin/xcodebuild failed with return code: 65 2022-05-13T16:27:43.8221120Z ##[section]Finishing: Xcode

mjethwa avatar May 13 '22 17:05 mjethwa

Hey guys! I was playing around with PWA Builder and I had the same issue.

Figure out you only have to open the .xcworkspace not the .xcodeproj after pod install and everything works as expected!

Screen Shot 2022-05-14 at 10 35 51 PM

cplepage avatar May 15 '22 02:05 cplepage

Hey guys! I was playing around with PWA Builder and I had the same issue.

Figure out you only have to open the .xcworkspace not the .xcodeproj after pod install and everything works as expected!

Screen Shot 2022-05-14 at 10 35 51 PM

Thanks @CPLepage , that fixed it. It's been a while since I touched XCode and Pods and swift weren't the thing then :(

mjethwa avatar May 16 '22 12:05 mjethwa

@nmetulev close as work as intended? :D

beth-panx avatar Jul 27 '22 21:07 beth-panx

Thanks @cplepage

freefugga avatar Mar 23 '23 17:03 freefugga