Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 436702 - iOS: setting up a AUT for testing leads to build error due to SentestingKit dependency in XCTest
Summary: iOS: setting up a AUT for testing leads to build error due to SentestingKit d...
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Maissmaallsmyss Maulhs-Vvuillss CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on: 437114
Blocks: 437056
  Show dependency tree
 
Reported: 2014-06-05 08:55 EDT by Maissmaallsmyss Maulhs-Vvuillss CLA
Modified: 2014-07-11 06:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maissmaallsmyss Maulhs-Vvuillss CLA 2014-06-05 08:55:25 EDT
The current way to make iOS AUT testable that is described in the User Manual leads to build error due to SentestingKit dependency probably is being not correctly resolved for XCTest for test target XCode5. To fix this the target FRAMEWORKS_SEARCH_PATHS in build setting have to contain a line "$(SDKROOT)/Developer/Library/Frameworks" right after a line "$(inherited)".

We should either document this issue and the resolution or try not to have a dependency to SentestingKit if it is possible
Comment 1 Maissmaallsmyss Maulhs-Vvuillss CLA 2014-06-06 09:11:17 EDT
Tamas made a small recearch and found out that Sentestingkit is necessary for iOS6 testing. Since we still run 6.0 tests, I will include in the documentation the way to fix the described debug error if it occur.
Comment 2 Maissmaallsmyss Maulhs-Vvuillss CLA 2014-06-10 05:24:22 EDT
The error description:
building for iOS Simulator, but linking against dylib built for MacOSX file '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 3 Alexandra Schladebeck CLA 2014-06-11 03:17:37 EDT
Maissmaallsmyss, what is the status of this? Does anything need to be done here?
Comment 4 Maissmaallsmyss Maulhs-Vvuillss CLA 2014-06-11 04:06:27 EDT
I´ve included the error fix into the user manual. So I suppose after the documantation changes are reviewed and pushed, this can be closed.
Comment 5 Maissmaallsmyss Maulhs-Vvuillss CLA 2014-07-11 06:05:39 EDT
Documentation is finished and pushed (Bug 437114) and include the error fix description (step to avoid this error). So I suggest this ticket can be closed.
Comment 6 Markus Tiede CLA 2014-07-11 06:12:55 EDT
I've verified that the documentation has been updated to also list this possible error during compilation and it's solution.