Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Test target #484

Merged
merged 20 commits into from
Sep 2, 2015
Merged

iOS Test target #484

merged 20 commits into from
Sep 2, 2015

Commits on Jul 7, 2015

  1. Configuration menu
    Copy the full SHA
    aa5d916 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2015

  1. Configuration menu
    Copy the full SHA
    0e8da3f View commit details
    Browse the repository at this point in the history
  2. Remove libgit2-iOS target dependency on OpenSSL-iOS

    OpenSSL-iOS is still a dependency of the libssh2-iOS target
    phatblat committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    c8e012f View commit details
    Browse the repository at this point in the history
  3. Add a few more specs to iOS Tests target

    Those that don't use GTFixtures
    phatblat committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    5146dbc View commit details
    Browse the repository at this point in the history
  4. Add SSZipArchive 0.3.2

    New submodule dependency through Carthage.
    phatblat committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    fd1b8c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    84e8d28 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ceb22b0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    556856f View commit details
    Browse the repository at this point in the history
  8. I can haz path

    phatblat committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    1032e0f View commit details
    Browse the repository at this point in the history
  9. Add all tests to iOS target

    phatblat committed Jul 10, 2015
    Configuration menu
    Copy the full SHA
    02499f0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    80f0103 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2015

  1. Merge branch 'master' into ben/ios-test-target

    Ben Chatelain committed Jul 13, 2015
    Configuration menu
    Copy the full SHA
    ce17fde View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2015

  1. Configuration menu
    Copy the full SHA
    ecd93b2 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2015

  1. Remove extra #import SSZipArchive.h

    Ben Chatelain committed Aug 24, 2015
    Configuration menu
    Copy the full SHA
    60547af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9778f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94971e1 View commit details
    Browse the repository at this point in the history
  4. Add specific iOS simulator destination

    Specifying the destionation works around the following issue with xctool. Can also hard-code the architecture, but this seems more future-proof.
    
    ```
    Failed to query the list of test cases in the test bundle: 2015-08-24 10:57:11.740 sim[50821:2746840] /Applications/Xcode6.4.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/sim: No simulator devices appear to be running.  Setting data directories to /var/empty.
    2015-08-24 10:57:11.741 sim[50821:2746840] DYLD_INSERT_LIBRARIES contains possible bad values.  Caller beware: /usr/local/Cellar/xctool/0.2.4/libexec/lib/otest-query-lib-ios.dylib
    dlopen(/Volumes/DerivedData/ObjectiveGitFramework-drtqacfhlqybdcdpqayztrrwneun/Build/Products/Debug-iphonesimulator/ObjectiveGit-iOSTests.xctest/ObjectiveGit-iOSTests, 1): Library not loaded: @rpath/ObjectiveGit.framework/ObjectiveGit
      Referenced from: /Volumes/DerivedData/ObjectiveGitFramework-drtqacfhlqybdcdpqayztrrwneun/Build/Products/Debug-iphonesimulator/ObjectiveGit-iOSTests.xctest/ObjectiveGit-iOSTests
      Reason: no suitable image found.  Did find:
    	/Volumes/DerivedData/ObjectiveGitFramework-drtqacfhlqybdcdpqayztrrwneun/Build/Products/Debug-iphonesimulator/ObjectiveGit.framework/ObjectiveGit: mach-o, but wrong architecture
    ```
    
    Indeed, the "wrong architecture" message is correct as the framework was built for a different architecture than the test binary:
    
    ```
    lipo -info ObjectiveGit.framework/ObjectiveGit ObjectiveGit-iOSTests.xctest/ObjectiveGit-iOSTests                                                                                                                                        2015-08-24 11:03
    Non-fat file: ObjectiveGit.framework/ObjectiveGit is architecture: i386
    Non-fat file: ObjectiveGit-iOSTests.xctest/ObjectiveGit-iOSTests is architecture: x86_64
    ```
    phatblat committed Aug 24, 2015
    Configuration menu
    Copy the full SHA
    2712c2a View commit details
    Browse the repository at this point in the history
  5. Quote sdkflag

    phatblat committed Aug 24, 2015
    Configuration menu
    Copy the full SHA
    15f906c View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2015

  1. Tabs

    phatblat committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    f57aca5 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2015

  1. Configuration menu
    Copy the full SHA
    c9da387 View commit details
    Browse the repository at this point in the history