Skip to content
This repository was archived by the owner on Sep 29, 2024. It is now read-only.

tried but didn't find: 'openssl.dylib' not found after release build - IOS #158

Closed
jsonpaul opened this issue Mar 9, 2020 · 1 comment
Closed

Comments

@jsonpaul
Copy link

jsonpaul commented Mar 9, 2020

Summary

Hello,

I'm trying to publish my app to app store. Firstly, I uploaded my app to test flight and tested it on my phone; it crashed immediately but on development, everything works fine.

I have checked on device console it shows :

Unable to get entitlements for client task. Error: Error Domain=NSPOSIXErrorDomain Code=3 "No such process"

After that I tried to send my app for review on a test flight, apple sent me the crash log stating that the app crashes on start.

Process:             My Connect [620]
Path:                /private/var/containers/Bundle/id.../My.app/My connect
Identifier:          com.my.ios.testvpn
Version:             1 (1.2)
AppStoreTools:       11C29
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.my.ios.testvpn [674]


Date/Time:           2020-03-07 10:16:28.0120 -0800
Launch Time:         2020-03-07 10:16:27.9900 -0800
OS Version:          iPhone OS 13.3.1 (17D50)
Release Type:        User
Baseband Version:    9.40.01
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, dependent dylib 'openssl.dylib' not found for '/private/var/containers/Bundle/Application/id../My Connect.app/My Connect', tried but didn't find: 'openssl.dylib'
Highlighted by Thread:  0

My pod file:

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

abstract_target 'iOS' do
  platform :ios, '11.0'
  
  target 'My-TunnelExtension' do
    pod 'TunnelKit'
    pod 'TunnelKit/Extra/LZO'
    pod 'TunnelKit/Protocols/OpenVPN'
    pod 'OpenSSL-Apple', '~> 1.1.1d.5a'
  end
  target 'My-Connect' do
    pod 'Swifter', '~> 1.4.7'
    pod 'SideMenu', '~> 6.0'
    pod 'KeychainSwift', '~> 19.0'
  end
end

Swift Version: 5
Test Device: iPhone 6s. / version 11.1.2
Platform: IOS

What is the current bug behavior?

Try to open the app and the app crashed.

@jsonpaul
Copy link
Author

jsonpaul commented Mar 9, 2020

Sorry my bad, disable bitcode fix the issue. it's related to #51

@jsonpaul jsonpaul closed this as completed Mar 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant