Code Monkey home page Code Monkey logo

Comments (4)

kbrin423 avatar kbrin423 commented on August 21, 2024

Hello! 👋🏻

Same for me:

`** ARCHIVE FAILED **

The following build commands failed:
CompileSwift normal arm64 /Users/brin/..../Plugins/cordova-plugin-photo-library-sism/PhotoLibraryProtocol.swift
CompileSwift normal arm64 /Users/brin/..../Plugins/cordova-plugin-photo-library-sism/PhotoLibraryService.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(3 failures)
xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running subprocess cordova.`

Ionic:

Ionic CLI : 6.12.2 (/Users/brin/.nvm/versions/node/v10.16.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.2
@angular-devkit/build-angular : 0.1102.8
@angular-devkit/schematics : 11.2.8
@angular/cli : 11.2.8
@ionic/angular-toolkit : 3.1.1

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0, ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 30 other plugins)

Utility:

cordova-res (update available: 0.15.3) : 0.15.1
native-run (update available: 1.3.0) : 1.1.0

System:

Android SDK Tools : 26.1.1 (/Users/brin/Library/Android/sdk)
ios-deploy : 1.9.2
ios-sim : 8.0.2
NodeJS : v10.16.0 (/Users/brin/.nvm/versions/node/v10.16.0/bin/node)
npm : 6.14.11
OS : macOS Big Sur
Xcode : Xcode 12.5 Build version 12E262

with: "cordova-plugin-add-swift-support": "^2.0.2"

from cordova-plugin-photo-library-sism.

kbrin423 avatar kbrin423 commented on August 21, 2024

My solution:

add this:

.. /src/ios/Bridging-Header.h

//
//  Use this file to import your target's public headers that you would like to expose to Swift.
//

#import <Cordova/CDV.h>

from cordova-plugin-photo-library-sism.

xmarkclx avatar xmarkclx commented on August 21, 2024

Cool, feel free to PR @kbrin423 . I don't encounter this issue so I haven't updated the codebase with the fix yet.

from cordova-plugin-photo-library-sism.

nurfgun avatar nurfgun commented on August 21, 2024

I think #9 is the same as this one.

@kbrin423 Can you kindly elaborate? I forked the project, added a file named "PhotoLibrary-Bridging-Header.h" at src/ios with #import <Cordova/CDV.h> in it, and I wrote in the /plugin.xml
without success.

My build env is :
Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 33 other plugins)

Utility:

cordova-res : 0.15.3
native-run (update available: 1.5.0) : 1.4.0

System:

Android SDK Tools : 26.1.1 (/Users/daniel/Library/Android/sdk)
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v12.22.5 (/Users/daniel/.nvm/versions/node/v12.22.5/bin/node)
npm : 6.14.14
OS : macOS Big Sur
Xcode : Xcode 12.5.1 Build version 12E507

from cordova-plugin-photo-library-sism.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.