Comments (6)
Hi, I'm having the same problem, I need to use this plugin in order to have automated builds on appcenter.ms. Any clue?
from flutter_plugin_appcenter.
This forked repository worked for me:
https://github.com/nate-eisner/flutter_plugin_app_center
pubspec.yaml:
app_center:
git:
url: https://github.com/nate-eisner/flutter_plugin_app_center.git
path: src/app_center
app_center_crashes:
git:
url: https://github.com/nate-eisner/flutter_plugin_app_center.git
path: src/app_center_crashes
app_center_analytics:
git:
url: https://github.com/nate-eisner/flutter_plugin_app_center.git
path: src/app_center_analytics
from flutter_plugin_appcenter.
Per response flutter/flutter#14161 (comment) and article at https://blog.cocoapods.org/CocoaPods-1.4.0/#static-frameworks, it looks like s.static_framework = true
must be added in podspecs.
from flutter_plugin_appcenter.
Hi,
I'm having this exact problem when I try to use this and flutter_inappbrowser.
@RaduGrama I can't figure out where to add the s.static_framework = true
. In the podspec for flutter_inappbrowser
or the podspec for flutter_plugin_appcenter
?
All of the things I've tried:
- Nothing. Adding both packages to a Flutter project created with
flutter create -i swift my_app
leads to the following output:
- Running pre install hooks
[!] The 'Pods-Runner' target has transitive dependencies that include static
binaries:
(/Users/me/my_app/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCent
erAnalytics.framework,
/Users/me/my_app/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCente
r.framework, and
/Users/me/my_app/ios/Pods/AppCenter/AppCenter-SDK-Apple/iOS/AppCente
rCrashes.framework)
- Commenting
use_frameworks!
inios/Podfile
. Uncommented of course I get the same build output as above. Commented I get the following build output:
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET appcenter OF PROJECT Pods WITH CONFIGURATION Release ===
/Users/user910206/development/flutter/.pub-cache/hosted/pub.dartlang.org/flu
tter_inappbrowser-1.1.1/ios/Classes/FlutterWebViewController.swift:34:17:
warning: result of call to 'parse(options:)' is unused
options.parse(options: initialOptions)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user910206/development/flutter/.pub-cache/hosted/pub.dartlang.org/flu
tter_inappbrowser-1.1.1/ios/Classes/FlutterWebViewController.swift:50:46:
warning: conditional downcast from 'String?' to 'String' does nothing
let data = (initialData!["data"] as? String)!
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
(etc.)
- Adding
s.static_framework = true
to various.podspec
s. I've tried this with and without the change described in #2, and withappcenter
local to my project like the example. I can't find a combination that works.
Radu, what worked for you my friend? @aloisdeniel, any insights please? Would be amazing to have this fixed.
Thanks
p-f
from flutter_plugin_appcenter.
Any news on this ?
from flutter_plugin_appcenter.
Any solution?
from flutter_plugin_appcenter.
Related Issues (17)
- Example App occurred Unhandled exception: type 'Future<dynamic>' is not a subtype of type 'Future<String>' HOT 1
- Crash in Android not working HOT 1
- Undefined symbols for architecture x86_64 HOT 1
- all import statements fail HOT 1
- 'AppCenter/AppCenter.h' file not found HOT 15
- Upgrade android SDK to latest 2.4.0 HOT 1
- flutter build apk fails after flutter upgrade HOT 7
- The 'Pods-Runner' target has transitive dependencies that include statically linked binaries HOT 5
- I want to be a mantainer HOT 2
- I want to become a maintainer HOT 3
- AppSecretDenied - wrong format ? HOT 1
- Track Flutter errors (non crashes)
- Update SDK to the flutter 2.5
- Dart SDK 2 version? HOT 2
- Crash Reporting HOT 6
- PushNotification ? HOT 2
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 flutter_plugin_appcenter.