Skip to content

add workspace with iOS and macOS projects#27

Closed
jcavar wants to merge 1 commit into
krzyzanowskim:masterfrom
jcavar:master
Closed

add workspace with iOS and macOS projects#27
jcavar wants to merge 1 commit into
krzyzanowskim:masterfrom
jcavar:master

Conversation

@jcavar
Copy link
Copy Markdown

@jcavar jcavar commented Jul 16, 2016

Ok, here is the first step. Added projects for building iOS and macOS frameworks from Xcode. You can just open workspace, select appropriate scheme, build project and new binary should be copied in bin folder.

@krzyzanowskim
Copy link
Copy Markdown
Owner

...but adding sub Pod shouldn't be that many changes. Why would you want add Xcode project at all? It's unecessary

@jcavar
Copy link
Copy Markdown
Author

jcavar commented Jul 28, 2016

Because integrating framework as is doesn't work. It doesn't contain plist and id inside binary is not properly set (see this issue x2on/OpenSSL-for-iPhone#103)

@krzyzanowskim
Copy link
Copy Markdown
Owner

How "OpenSSL-iOS" and "OpenSSL-macOS" is generated?

@krzyzanowskim
Copy link
Copy Markdown
Owner

Isn't Dynamic framework too much trouble after all (bitcode, this)? how about static framework that can be generated quite easily

@jcavar
Copy link
Copy Markdown
Author

jcavar commented Jul 28, 2016

Yes, but that doesn't solve CocoaPods issue, right?

@jcavar
Copy link
Copy Markdown
Author

jcavar commented Jul 28, 2016

OpenSSL-iOS and OpenSSL-macOS are Xcode projects which are manually generated mostly following Method 2 in this article

@eladav
Copy link
Copy Markdown

eladav commented Feb 2, 2017

Hey,
So, Why was this and #26 closed? And why was this PR rejected?
I know it's an old issue/pr but it looks like a lot of iOS developers would benefit from that, as well as some major security frameworks for Apple platforms.
Edit: and from taking a quick look at the solution it looks like a good one.

@sashabaranov
Copy link
Copy Markdown

+1 for this PR, static linking is painful.

If not merged it would be helpful to instruct users how to integrate this project into their project(i.e. http://stackoverflow.com/questions/32125338/how-can-i-use-an-a-static-library-in-swift) and ignore dependencies to it in Podfile

@levigroker
Copy link
Copy Markdown

FYI, not to diminish the excellent work done here, but I have taken the liberty of creating my own fork which combines these ideas in order to create frameworks. https://github.com/levigroker/GRKOpenSSLFramework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants