Skip to content

Build does not include libssh2 with Xcode 7.1 / iOS 9.1 #531

Closed
@dleehr

Description

@dleehr

I was trying to build a fresh copy of objective-git and found that the iOS build process can no longer find libssh2.

Steps to reproduce:

$ git clone git@github.com:libgit2/objective-git.git
$ cd objective-git/
$ script/bootstrap 
$ open ObjectiveGitFramework.xcodeproj

In Xcode 7.1, pick ObjectiveGit-iOS for iPhone 6 Simulator and build.
Upon completion:

$ grep -i ssh2 External/libgit2-ios/*/*.log

External/libgit2-ios/iphoneos9.1-arm64.sdk/build-libgit2.log:-- checking for module 'libssh2'
External/libgit2-ios/iphoneos9.1-arm64.sdk/build-libgit2.log:--   package 'libssh2' not found
External/libgit2-ios/iphoneos9.1-arm64.sdk/build-libgit2.log:-- LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of the default search path.

Not sure what caused this to happen, could be Xcode 7 or iOS 9 related. I had a build under iOS 8 SDK that worked fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions