I integrated Firebase Crashlytics in one of my bitcode disabled iOS project. It's working properly if I remove upload dSYM script(see image 2). But if add it then app building process never get complete same thing happens for app archiving also.
I integrated Firebase Crashlytics in some other projects as well and all are working properly and used same configuration and scripts but only this app have issue.
Project Configuration -
Crashlytics version - 4.6.2
My project minimum deployment target - iOS 12
XCode version - 12.5 and Xcode 13
I checked my app bundle identifier it is proper in GoogleService-Info.plist. And path of GoogleService-Info.plist is also correct in script.
I have following scripts -:
Script 1.
Script 2.
Updated Crashlytics version from 4.6.2 to latest version 8.8.0. It solved the issue. But still I could not find any reason why older 4.6.2 is working in other projects but not working in only one project.
Related
I working on a flutter app that interacts with a similar smaller version as watch app.
For Android I'm not faceing probelms. But I'm still struggling with iOS.
After I created the default flutter app and added a watch as target, I tried to test validate this. I archived my project with
flutter build ipa
and validated the created archive. For that I opened
My App > build > ios > archive > Runner.xcarchive
by double clicking on it. That opend Xcode and the 'archive manager'. Here I clicked on 'Validate'.
I also tried it by the 'Transproter' app.
Both validation ways are ending with this error:
Missing Info.plist value. A value for the key “WKApplication“, or “WKWatchKitApp“ if your project has a WatchKit App Extension target, is required in “Runner.app/Watch/XXXXX App.app“ bundle. For details, see: https://developer.apple.com/documentation/watchkit/creating_independent_watchos_apps/setting_up_a_watchos_project
I have no idea how I can fix this.
My current setup is:
Flutter 3.3.2 - channel stable
Dart 2.18.1
DevTools 2.15.0
Android Studio Dolphin | 2021.3.1
Xcode Version 14.0
What I also tried is: I created a new project with a normal iOS App (not flutter) and added a watch as target. This validated without any problems.
I'm facing the same issue when I want to archive and release a test version of my flutter project with a watch app in Xcode 14. I can run the whole project locally without any problem. I have no idea how to deal with it so far.
I tried to add the WKWatchKitApp key to the info.plist of the WatchKit App, but I got more errors saying that I'm missing the WatchKit App Extension' target. I'm confused about it since the Xcode 14 Release Notes said:
Xcode 14 includes a default template for watchOS apps that combines the WatchKit App and WatchKit App Extension targets into a single Watch App target, simplifying code, asset, and localization management. You can deploy single-target watchOS apps to watchOS 7 and later. (83222217)
I'm developing with:
Flutter 3.3.0
Dart 2.18.0
DevTools 2.15.0
Xcode 14.0
I'm wondering if it is caused by Xcode or the old version of Flutter.
Update: 20230211
I tried to upgrade my Flutter to 3.7.3, delete the build cache by running flutter clean, and clean the Xcode build folder. Then update and reinstall all the flutter and pod dependencies I'm using and recompile the whole project. The project can now archive and release to Testflight.
For some reason I can't setup Crashlytics with freshly created Xcode 10 project. After installing Fabric and Crashlytics pods and creating "Run script" build phase, Fabric Mac app asks to build the project. I've tried building it, cleaning and building again, building it using older version of Xcode (9.4.1), installing Crashlytics manually (without Cocoapods), but still no result - Fabric Mac app still asks to build the project.
Any ideas on how to fix it?
PS: I've also tried adding input file ($(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)), but still no result
I fixed the problem by going into Build Settings, changing Debug Information Format from "DWARF" to "DWARF with dSYM File" and building the project again.
I'm having problems archiving an iOS Swift application since the last Xcode update (Xcode 7.3), the application builds and runs correctly in debug mode but as soon as I try to archive it I get the following error:
No such module "RealmSwift"
Although it references RealmSwift it fails randomly importing this or any other pod.
The most strange point is that downgrading to Xcode 7.2.1 and Command Line tools 7.2 doesn't fix the problem.
I've clean Cocoapods cache, completely removed ~/Library/Developer folder, removed my Pods folder within the project folder. Even trying to archive with a different machine doesn't work. I rolled back to a version of the app released on Crashlytics and therefore successfully archived in the past with the same result.
Any thoughts about what could be wrong?
VS version - 2015 with Cordova update 3Mac OS - 10.10.4iOS - 9.0 When building in release mode for iOS we get following warnings. But release folder is created with ipa and plist.
So when uploading that ipa using application loader it gives following 2 errors.
As I mentioned in this stackoverflow thread:
There appears to be an issue with Cordova's iOS implementation when publishing apps created specifically using Xcode 7.
A Cordova community member has published a "cordova-plugin-ipad-multitasking" plugin with a fix.
http://npmjs.com/package/cordova-plugin-ipad-multitasking
Install this plugin and you should be all set. A future Cordova version will resolve the problem fully.
Failing that, if you are using remotebuild you can also find the native project under ~/.taco_home/remote-builds/taco-remote/builds and make the modifications as described in the Cordova bug on the issue.
EDIT:
To resolve ITMS-90339, there is a second step you can do to patch in the near term. Grab the build.xcconfig from the 3.9.x branch of the cordova-ios repo and place this under res/native/ios/cordova
Now remove this line:
CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist
Note that you will want to remove this custom build.xcconfig file if you upgrade to the version with the full patch that is forthcoming.
I'm trying to compile a Cordova project.
The project was working fine with XCode 6.3 and iOS 8.3 phone.
We upgraded the phone to 8.4 then everything stopped working.
I tried XCode 6.4 - got this error.
I tried XCode 7.0 beta 2 - got this error.
Search on google shows that many have this problem with no solution.
I tried to clean the code, project->build for->generate optimization profile, restart the computer, etc. Noting help.
It was a Cordova's problem: To fix it:
Remove both platform and plugins folders.
cordova platform add ios
Add all your plugins again.
Don't forget to select your profile on the project's first tab.
Same steps as when you trying to remove a plugin (never working for iOS).