I recently downloaded Testflight SDK version 3.0 and added header files in the project as shown in https://www.testflightapp.com/sdk/ios/doc/3.0.0/. Previously I was using SDK 2.1.4
But when I archive the app and try to upload it to Testflight it still shows me my previous SDK version 2.1.4. I dont know whats the issue, i tried so many times but the sdk is still not updating to 3.0 in my project.
Just ran into and fixed this problem. In my case, the library search paths were pointing to the wrong place (with an older version of the library). Search for "Tetflight" in your Build Settings and delete or change any incorrect paths.
Only adding the header files is not enough. You also need to update libTestFlight.a to the latest version. Replace the older static library with the new one. Also make sure it is properly linked (Project, Build Phases, Link Binary With Libraries). Then clean the project, rebuild, and you should be fine.
If you already did that, you should say so in your question. Now you only mention header files. But based on your description it could be that you are still linking an older version of the TestFlight static library.
I ran into this issue first from the question, but then immediately couldn't upload my ipa into TF because it contained the SDK. TestFlight appears to be purchased by Apple and also TF has since removed support for Android.
TestFlight does not accept builds with TestFlight SDK
Related
I'm developing an already existing project that is mismatching versions between released app on Apple Store Connect (8.x.x) and .xcodeproj file (21.x.x).
I was trying to accomplish this based on
this solution
But It can't be done for itunes API does not return build version or build number. And can't find installed release version from code. Solution above returns version from .xcodeproj file (21.x.x) in code.
Is there a way to get corresponding installed version from AppStore
by code?
Or, can I jump to release version 21.x.x in the AppStore to match the
.xcodeproj file version without get into trouble with Apple or
technically-speaking?
Not really sure I understand your exact issue but Fastlane allows you to retrieve the current version of the app on App Store Connect (live or not)
http://docs.fastlane.tools/actions/app_store_build_number/
I've an old project to start work on it. Client told that it was completed in 2012, and may be with v.4.3 or some older version of Xcode. It was only targeted for iOS v.6 and previous versions. Now client wants to make some upgrades and make it compatible for all iOS devices having iOS v.7 and/or above.
I'm running Xcode v.6.3 with iOS v.8
When I firstly open up the project and run – I got too many error (actually those should be come as warnings and not errors) from GPUImage framework. I solved it one-by-one. After solved those errors, when I run it again, I failed-up with few more error of SDKs not found. I can confirm that all SDKs are added properly. And its never changed, after the project was created. However its giving me errors.
Is there something that we've to setup when we run an old project (in latest Xcode and current iOS target)? Do we need to change architectures? Header search paths?
Note, all SDKs and app source code was on Github and added as submodules to the app. I have successfully cloned it in my Mac.
Please ask me if you want more information on this.
The following steps could solve your problem. I am not 100% sure but it worked for me once. Worth a shot.
1) Go to Build Phases and remove the FacebookSDK.framework
2) Clean
3) Link back the FacebookSDK.framework to your project
4) Clean and Run
I have been trying to send my application to apple for submission and it is my first experience about it. I have searched the errors and applied all suggested solutions. However none of the solutions didn't work for me. I got the error below.
I set the ios deployment target as ios 7.0 and later versions for both of the project target and Alamofire framework. Also, my Xcode version is 6.1.1 . However, I could not understand that why not working.
Could you help me please ?
Thank you for your answers
Best regards
Unfortunately, iOS 7 does not support frameworks. Here is some additional information about it. The known workaround is to add Alamofire to your project by dragging the Alamofire.swift file directly into your project.
A good way to track this type of usage in your project is to use Git submodules. You could also download a version and copy the file into your project, but then it gets more difficult to track what version you have compiled into your project.
This will build Alamofire into your project as though it was just another Swift file associated with your project.
This is also why most Swift CocoaPods are iOS 8 only.
After installing iOS 8 on my iPhone, the app I was working on with Parse v1.3.0 just stopped working.
I want to update my iOS XCode Project to v.1.4.1. However, as I installed Parse using CocoaPods, I am at a lost on how to update the project to v1.4.1 using Parse iOS SDK, as the latest version is not yet available on CocoaPods.
The Parse iOS SDK comes with 3 folders, Bolts.framework, Parse.framework, ParseFacebookUtils.framework. I can only find Parse.framework in my project folder and the rest of the pods files are in a mess. Do I just delete and replace the Parse.framework folder in my current project and what do I do with the Bolts.framework and ParseFacebookUtils.framework?
Would be grateful if anyone can help. Thanks!
It is easier, so long as all active dev projects use the same up-to-date frameworks, to place them in one central area, and then add framework references from within Xcode to that central location. This is what i do, and it works like a charm, without pods.
I've built an app using phonegap build for ios and android. Both versions work great using their respective developer versions. The android app was sent off to google play smoothly and was quickly available on the android market. From there it is downloaded and installed without a hitch.
The fate of the ios version is not so great. When I upload the ipa (mmm, beer) phonegap build gives me using Application Loader I get the following error,
ERROR ITMS-9000: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
I've reached out on phonegap build's community page but received no help.
I've reached out to the apple developer page and they told me to learn how to write native code.
I've checked, double checked, and recreated certificates and provisioning files. I'm sure they're for production. I am at a loss as to how to proceed. It seems I'm the only person to ever get this error from a phonegap build.
I saw this on stack overflow, Application Loader error, binary is invalid, I did what it said but my results more or less matched what he said was the working one. You can seem my comment on the answer.
I'm on an old mac. I'd downloaded the latest application loader (2.9.1) to upload the build.phonegap ipa. While attempting to build the ipa myself i downloaded xcode 4.6.3 and it included application loader 2.8. Since it was different I thought I'd give it a shot using the exact ipa that had failed me so many times before. And it went through... I don't know what it was that made apple finally like my app but they do now and I'm not going to complain.
I got his issue, when try to use Pods with minimum support version 8.0.
But my app's minimum support version was 7.0.
I changed min version to 8.0 and fix version in Podspec:
platform :ios, '8.0'
and run pod install
After this the problem is gone.
for me, the problem was I had added one framework with drag and drop and when I deleted the framework and installed it through cocoapods the problem was gone