|
Post by otsny on Feb 14, 2018 8:09:56 GMT
It was rejected at the iTunes Store review for the following reasons
This app's WebKit instance links against the private /System/Library/PrivateFrameworks/WebKit.framework/WebKit framework instead of the public WebKit framework. This can be found by using otool -L on the command line. It would be appropriate to link only against the public WebKit framework for all WebKit selectors for future submissions. I use it by being seen with "otool - L rhorunner"
Is there a way to not use PrivateFrameworks
RhoStudio: 6.0.22 (x64)
OS: macOS 10.13 High Sierra
XCode: 8.3.3
Ruby: 1.9.3
|
|
|
Post by Dmitry Soldatenkov on Feb 14, 2018 8:30:38 GMT
Application builded for iOS ? Please archive and share your /application root//project/iphone folder You can remove from shared archive /application root/project/iphone/bin with your bundle - I need see only xcodeprojects files.
|
|
|
Post by otsny on Feb 14, 2018 9:12:40 GMT
|
|
|
Post by Dmitry Soldatenkov on Feb 14, 2018 14:25:03 GMT
I see in XCode project this path to WebKit framework:
FAA714AA1DDE835500E5E7AD /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk/System/Library/Frameworks/WebKit.framework; sourceTree = DEVELOPER_DIR; };
It is no private framework
Please check you XCode (reinstall it). And also please migrate to Ruby 2.x - we will drop 1.9.3 support soon
|
|
|
Post by otsny on Feb 15, 2018 8:05:44 GMT
I changed the environment, but the situation does not change
RhoStudio: 6.0.22 (x64)
XCode: 9.2
Ruby: 2.3.4
OS: macOS 10.13 High Sierra
The following is displayed in "otool" execution
otsny$ otool -L rhorunner | grep Private
/System/Library/PrivateFrameworks/WebKit.framework/WebKit (compatibility version 1.0.0, current version 604.4.7) If I think that "iOS Deployment Target" is a problem and change from 6.0 to 8.0, the following error occurs
[INFO] ld: symbol(s) not found for architecture x86_64
[INFO] ==================== ERROR! ====================
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO] Showing first 200 notices only
rake aborted!
How can I change "iOS Deployment Target" to 8.0 (or higher) so that no errors occur?
|
|
|
Post by Dmitry Soldatenkov on Feb 15, 2018 14:27:19 GMT
|
|
|
Post by otsny on Feb 21, 2018 0:53:19 GMT
We changed the DeploymentTarget from 6.0 to 8.0 and added "libstdc ++. 6.0.9.tbd" to build it And the use of PrivateFramework is gone
However, in the following environment, "libstdc ++. 6.0.9.tbd is not an object file (not allowed in a library)" error RhoStudio: 6.0.22 (x64) XCode: 9.2 Ruby: 2.3.4
Building successfully in the following environment RhoStudio: 5.5.00 (x64) XCode: 8.3.3 Ruby: 1.9.3
All problems were solved Thank you very much
|
|