Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Appstore reviewers allow us to use dynamic library in iOS8?

I read many articles about dynamic library usage including this page "Can you build dynamic library...".

As apple document said, "Frameworks for iOS. iOS developers can now create dynamic frameworks. Frameworks are a collection of code and resources to encapsulate functionality that is valuable across multiple projects. Frameworks work perfectly with extensions, sharing logic that can be used by both the main application and the bundled extensions.", see full page from here.

Taking the security issue as consideration, I got the reject reason of dynamic library before iOS8, see details from "DarkDust's answer". But, how does it "just work" in iOS8? @appstore_reviewers?

Anyway, currently I'm writing a sample demo app and try to upload it to Appstore for review, the main feature is downloading a framework from internet to client and dlopen it. Hope that really "just works"!

Besides, the deployment target is iOS7.0, not sure it could works well in it. I didn't get a so clear understand on differences between "dynamic library" and "framework", I think they are the same and in this thread I mean "Cocoa-touch framework" which could create in Xcode 6.

Some background: I'm trying to build an iOS app which does't contain extension feature, my cocoa-touch framework is for easy expand without uploading a new version as it comes from internet....

UPDATE I published a demo project GMDemo here, will try to upload to Appstore.

UPDATE2 I failed to dlopen my dynamic framework with invalid code signing error after many tries in iOS device. Sorry, no good news here. (Almost forgot to update this question, sorry! BTW)

like image 891
Itachi Avatar asked Oct 22 '14 09:10

Itachi


People also ask

Are dynamic libraries allowed iOS?

NOTE: Dynamic libraries outside of a framework bundle, which typically have the file extension . dylib, are not supported on iOS, watchOS, or tvOS, except for the system Swift libraries provided by Xcode. You're not allowed to create these, as this will get your app rejected.

What is dynamic library in iOS?

Dynamic library - a unit of code and/or assets linked at runtime that may change. However, only Apple is allowed to create dynamic libraries for iOS . You're not allowed to create these, as this will get your app rejected.

Can anyone release apps on app Store?

Apple Developer account In order to create an iOS app and publish it on the App Store, you are required to register as an Apple Developer . This account cost $99 and must be renewed yearly.

Are all apps on the app Store legal?

Apps made available through the App Store are licensed, not sold, to you.


1 Answers

App Store Review Guidelines explicitly prohibit that in 2.4.5 Apps that download code in any way or form will be rejected https://developer.apple.com/app-store/review/guidelines/

like image 166
Bartek Chlebek Avatar answered Oct 12 '22 10:10

Bartek Chlebek