I connected Simpleauth but after the build up there are a lot of errors
I use Xcode 8.3.1 swift 3. iOS 10.2
Related
I just migrated my old project swift 3 to swift 4 .When I build with simulator or real device its getting fine.But when I archive with Generic IOS device getting pod error. How to resolve this error.I am using Xcode Version 10.1 (10B61).
I created some frameworks on my own using Xcode 8.2.1 with Carthage package manager. When I try to use this framework in Xcode 8.3.3 I am getting the error below:
Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1
I tried rebuilding the created framework using Xcode 8.3.3 and did carthage update in my existing project in which I am trying to use the framework. Still it throws the same error. Do I need to create the framework again using Xcode 8.3.3 in order to get rid of this error? Or is there a way to re-compile the existing framework?
The problem was my default Xcode selection path was set to Xcode 8.2.1.
So every time I built the framework using carthage build --no-skip-current, it was building with Xcode 8.2.1.
I changed my Xcode selection path to point to Xcode 8.3.3 by using the following command in Terminal:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Now the framework has been updated and I am able to access my framework in Xcode 8.3.3 without any issue.
Running "swift -version" reveals that:
Xcode 8.2.1 is using Swift 3.0.2
BUT
Xcode 8.3 Beta is using Swift 3.0.
This is a nuisance as Realm has different Swift frameworks for 3.0 and 3.0.2 - which means using a project created with Xcode 8.2.1 using the Realm framework for 3.0.2 won't build if using Xcode 8.3.
Is there a way to change Xcode 8.3 beta to use Swift 3.0.2?
For ios9 Twitter integration using Fabric is working fine but when I am doing it for ios8 its showing all the 3 error
1) Could not build module 'TwitterKit'
2) Could not build module 'TwitterCore'
3) Cocoa/Cocoa.h' file not found
Try setting deployment target to iOS 8 (for project and target)in xcode 7 or above.I faced similar problem when i tried building using xcode 6.3.Also you can't iOS 7 as deployment target as TwitterCore doesn't support for iOS 7.Hope it helps :)
Edit
setting deployment target for project
For setting deployment target for target
I have used xcode 7.2 for running on device.It doesn't give any error.
I am trying to test my app on iOS 9.2 device using Xcode 7.1.1, and getting the error message
“Could not find Developer Disk Image”.
Googled and found that, this is due to the Version Mismatch between Xcode deployment target and iOS version. On Xcode 7.1, I can see the deployment target till iOS 9.1 only.
So, I do understand that have to update my Xcode to the 7.2 version for deployment target iOS 9.2. But i don't wanna do the update.
Is there any valid way to test my app using Xcode 7.1 on iOS 9.2 device?
Fix it by downloading XCode 7.2 dmg and installed it as a new copy.
or
Uninstall exiting one and directly download new version of xcode from App Store.
Have look on same thread in SO .
If you go for update there also some problem have look on this.
Your Xcode iOS SDK should not be less that Device iOS SDK you can install app as Internal Tester by TestFlight. or www.diawi.com