Skip to content

Commit

Permalink
Add fixture tests for ios app with xcframework
Browse files Browse the repository at this point in the history
  • Loading branch information
lakpa committed Dec 9, 2019
1 parent d8aa4da commit 9c21445
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 144 deletions.
143 changes: 0 additions & 143 deletions Sources/TuistCore/Graph/TargetNode.swift

This file was deleted.

8 changes: 8 additions & 0 deletions features/generate.feature
Expand Up @@ -230,3 +230,11 @@ Scenario: The project is an iOS application with watch app (ios_app_with_watchap
Then I should be able to build for watchOS the scheme App
Then the product 'App.app' with destination 'Debug-iphoneos' contains resource 'Watch/WatchApp.app'
Then the product 'WatchApp.app' with destination 'Debug-watchos' contains extension 'WatchAppExtension'

Scenario: The project is an iOS application with Xcframeworks (ios_app_with_xcframeworks)
Given that tuist is available
And I have a working directory
Then I copy the fixture ios_app_with_xcframeworks into the working directory
Then tuist generates the project
Then I should be able to build for iOS the scheme App
Then the product 'App.app' with destination 'Debug-iphoneos' contains the framework 'MyFramework' with architecture 'arm64'
10 changes: 9 additions & 1 deletion fixtures/README.md
Expand Up @@ -271,4 +271,12 @@ An example of an iOS app that contains Carthage frameworks \*(fat frameworks wit

## ios_app_with_helpers

A basic iOS app that has some manifest bits extracted into helpers.
A basic iOS app that has some manifest bits extracted into helpers.

## ios_app_with_xcframeworks

An example of an application which depends on prebuilt `.xcframework`s.

The `.xcframework` can be obtained by running the `build.sh` script within the each of the framework directories.

e.g. `ios_app_with_xcframeworks/Frameworks/MyFramework/build.sh`

0 comments on commit 9c21445

Please sign in to comment.