PlugNPlay sdk framework can't be imported in xcode 8.3.2 - swift3

Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1 For PlugNPlay SDK. Please provide a new release for PlugNPlay SDK with swift 3.1 support.
it is working fine in Simulator but it showing an error if you run in device Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1
My Xcode version is 8.3.2
iPhone Device version is 10.3.1 and 10.2.1

You have to change some setting of your project so you can easily import PlugNPlay sdk framework. I am attaching screenshot here.

Related

Mac Catalyst version of working iOS App gets dyld crash

I need to run a version of an existing iOS app in MacOS (10.15.7).
The app uses PencilKit and runs well in iOS 14. Compiling with Xcode 12.3
Trying to run in Catalina, the App crashes during dynamic framework loading before arriving at the app's AppDelegate.
the debugger says:
dyld: Symbol not found: _$s9PencilKit8PKStrokeVMn
Referenced from: /Users/.... (which was built for Mac OS X 14.0)
Expected in: /System/iOSSupport/usr/lib/swift/libswiftPencilKit.dylib
in /Users.... Sketch.app/Contents/MacOS/Hieroglyph Sketch
the contents of $arg1 = 6
Is this a clue that Catalyst now requires Big Sur?
Are there and funky Project or Target Settings required for MacOS builds not in iOS?
PencilKit is not supported in Catalina, despite what the docs say. It was enabled for Catalyst apps in Big Sur.
https://twitter.com/stroughtonsmith/status/1163514723679252480?s=21

Can I upload iOS App to AppStore using Xcode 8.2, even if apple has release Xcode 8.3 and iOS 10.3

As stated by apple in Xcode 8.3 release notes
Xcode 8.3 no longer supports Swift 2.3.
I have a lot of work before I migrate to Swift 3.0 And I want My app on AppStore soon before I migrate.
Keeping in mind that apple has recently relaease a new version Xcode 8.3 and iOS 10.3, will I be able to upload the iOS app to appstore using my older version of Xcode 8.2
NOTE: I already have an active version x.x of my app on appstore. I need to upload a new version.
As stated here and here, any version from Xcode 6.0 and over, regardless of which language (and language version) you use, will do.

I can't combile my project with the firebase ios sdk 2.5.1, why ? I use the uninty 4.7.1 version

I can't combile my project with the firebase ios sdk 2.5.1, why ? I use the uninty 4.7.1 version
the issue
when I select the c++ 11 combile item:
How to fix this problem ? thanks
unity combile bug

Updating to iOS 9.0 SDK framework project build failed

I am new to iOS programming, recently I am working on a framework project. I am using iOS 8.4 SDK before, I use this project to generate framework for iOS device and simulator, then use some script to merge them into one framework.
My build settings:
architecture: Standard architecture; i386
Valid architecture: armv7; arm64; i386
However, when I update iOS SDK to 9.0, there are some errors shown there. It used to build successfully in iOS 8.4.
It shows
1./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/sys/cdefs.h:707:2: Unsupported architecture
2./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/machine/_types.h:34:2: Architecture not supported
3./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/sys/_types.h:55:9: Unknown type name '__int64_t'
4./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/sys/_types.h:56:9: Unknown type name '__int32_t'
.............and lots of similiar __int43/64_t
5./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/sys/_types/_intptr_t.h:30:9: Unknown type name '__darwin_intptr_t'
6./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: Could not build module 'Darwin'
If I remove i386 from architectures, several errors will be gone. Also, if I change Apple LLVM 7.0 - Language - Modules: Enable Modules (C and Object-C) from yes to no, the module problem will be fixed. I can build the framework correctly.
However, when I use this framework in my framework test app, which used to work before as well. It will have some error:
Undefined symbols for architecture x86_64.
Can someone explain to me what happened with the iOS update? How can I generate the correct framework I can use as SDK in another project.
With iOS SDK 12.1, I received same error. The reason was when compiling with CMake I changed target architecture from x86_64 to arm64 but did not clean up build folder. After cleaning
/Users/yourname/Library/Developer/Xcode/DerivedData and re-running CMake everything worked.

How to fix problem with version mismatch of iPhone 4.3.4 and IOS SDK

I upgraded my iPhone to 4.3.4 (8K2) and I can no longer build my app.
In the organizer, I get the following error:
The version of iOS on “Jeff Bonta’s iPhone” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on Jeff Bonta’s iPhone
4.3.4 (8K2)
Xcode Supported iOS Versions
4.3.4 (8K2)
4.3.3 (8J2)
4.3.2 (8H7)
4.3.1 (8G4)
So, it acknowledges that I have 4.3.4 installed on my iPhone and it says that Xcode supports 4.3.4, but it also says that the version on the iPhone does not match any of the versions supported for development with this SDK. Very confusing.
Before I rebooted my iPhone, I got errors in the debugger console:
iphone unable to load symbol file:
Other users have had this problem with version 4.2.1 and resolved it by:
Deleting the folder /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1/ and restarting Xcode.
I could not get this to work because I could not delete the folder .../4.3.4 (8K2). I figured out how to delete this folder, but not until after I rebooted my iPhone.
Any suggestions? I am completely stuck.
I had a similar issue, here was my work process.
Close XCode
Disconnect iPhone
Delete 4.2 - to the latest version folders (as
shown in the other post - If you cant do it through the GUI, go in through terminal and sudo delete it.)
Now I went to install Xcode again, but I use Lion now and it said "update xcode" when I went to install.
Install the new updates and open Xcode.
Plug in the iPhone and open Organiser (if it doesnt do it automatically)
Wait a minute
before it recognises the iPhone, it should then ask you to port the
files across.
Click on the project file in Xcode, and then set the
version to 4.3.4 (or 4.3.5 if you updated) manually, as its grayed out and doesn't recognise the device until you do.
Clean the project and then build.
Let me know how you get on :)
I have both Xcode 3.2 and Xcode 4 installed. 3.2 gave me the same error on an iOS5 iPad. I deleted the folder with 'sudo rm -rf /Developer/blah/balh/' and then opened Xcode 4 with the iPad connected, Xcode 4 did some magic and a message 'Clean Manager succeed' appeared on the status bar. Closed 4, opened 3.2 and voila! There was my device ready again.
Hope this helps.