ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
12.08k stars 1k forks source link

ios Build failed #7475

Closed quavo19 closed 5 months ago

quavo19 commented 5 months ago

Capacitor Version

Latest Dependencies:

@capacitor/cli: 6.0.0 @capacitor/core: 6.0.0 @capacitor/android: 6.0.0 @capacitor/ios: 6.0.0

Installed Dependencies:

@capacitor/cli: 6.0.0 @capacitor/android: 6.0.0 @capacitor/core: 6.0.0 @capacitor/ios: 6.0.0

Other API Details

npm --version: 10.7.0
node --version: v22.1.0
pod --version: 1.15.2

Platforms Affected

Current Behavior

anytime i try to build with npx cap run ios i get an error.

        /Users/quavo/Desktop/workProjects/Pixxels-App/ios/DerivedData/D742172F-6E4C-472D-B8B9-677BCC982000/Index.noindex/DataStore
        -index-system-modules

        SwiftDriverJobDiscovery normal x86_64 Emitting module for Capacitor (in target
        'Capacitor' from project 'Pods')

        warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every
        build because it does not specify any outputs. To address this warning, either add
        output dependencies to the script phase, or configure it to run in every build by
        unchecking "Based on dependency analysis" in the script phase. (in target 'App' from
        project 'App')
        ** BUILD FAILED **

        The following build commands failed:
        SwiftCompile normal x86_64 Compiling\ Console.swift,\ Data+Capacitor.swift,\
        DocLinks.swift,\ HttpRequestHandler.swift,\ JS.swift,\ JSExport.swift,\ JSTypes.swift,\
        JSValueDecoder.swift,\ JSValueEncoder.swift,\ KeyPath.swift,\ KeyValueStore.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Plugins/Console.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Data+Capacitor.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/DocLinks.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Plugins/HttpRequestHandler.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/JS.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/JSExport.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/JSTypes.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Codable/JSValueDecoder.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Codable/JSValueEncoder.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/KeyPath.swift
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/KeyValueStore.swift
        (in target 'Capacitor' from project 'Pods')
        CompileSwift normal x86_64
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/Codable/JSValueEncoder.swift
        (in target 'Capacitor' from project 'Pods')
        CompileSwift normal x86_64
        /Users/quavo/Desktop/workProjects/Pixxels-App/node_modules/@capacitor/ios/Capacitor/Capacitor/CapacitorBridge.swift
        (in target 'Capacitor' from project 'Pods')
        (3 failures) 

Im using swift --version: 5.7.2 and Xcode 14.2

Expected Behavior

Im expecting the app to be built.

Project Reproduction

https://github.com/pixxels-team/Pixxels-App,

jcesarmobile commented 5 months ago

Capacitor 6 requires Xcode 15

quavo19 commented 5 months ago

@jcesarmobile please which version is compatible with Xcode 14.2 so I can downgrade

ionitron-bot[bot] commented 4 months ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.