Comments (4)
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.
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.
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.
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)
- Error while doing PhotoLibrary.getLibrary()
- only support IOS 13 or above? HOT 2
- Add Swift Support dependency still required? HOT 2
- Errors while build with Xcode & cordova build HOT 1
- Does the plug-in support wkwebview? HOT 1
- android 10 support (SDK 29) HOT 1
- cordova-ios 6+ supporting HOT 2
- No such module 'Cordova' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-photo-library-sism.