Project structure related questions

9 views
Skip to first unread message

Дмитрий Лобанов

unread,
Aug 11, 2016, 6:14:38 AM8/11/16
to CocoaLumberjack
I inspected projects.

There are several distinguish features.

1) There is separate project file for tests.
2) There are several build targets in main project.
3) There is complex travis scheme file.
4) There is complex podspec file.

Questions about all of them. Why so?

More specific questions.

Why does Lumberjack project have different iOS-static library target and iOS-dynamic framework target? ( any specific reasons? )

Why does podspec file have different subpodspec for Swift? Is it only macros limitations?

Could you explain difference between framework tests and general platform tests?
    - xctool -project Lumberjack.xcodeproj -scheme 'CocoaLumberjack'
   - xctool -project Lumberjack.xcodeproj -scheme 'CocoaLumberjack-iOS' -configuration Release -sdk iphonesimulator build
   - xctool -project Lumberjack.xcodeproj -scheme 'CocoaLumberjack-watchOS' -configuration Release -sdk watchsimulator build
   - xctool -project Lumberjack.xcodeproj -scheme 'CocoaLumberjack-tvOS' -configuration Release -sdk appletvsimulator build
   - xctool -project Lumberjack.xcodeproj -scheme 'FmwkTest'
   - xctool -project Lumberjack.xcodeproj -scheme 'iOSLibStaticTest' -configuration Release -sdk iphonesimulator build
   - xctool -project Lumberjack.xcodeproj -scheme 'watchOSSwiftTest' -configuration Release -sdk watchsimulator build
   - xctool -project Lumberjack.xcodeproj -scheme 'tvOSSwiftTest' -configuration Release -sdk appletvsimulator build

    - pod install --project-directory=Tests
   - xctool -workspace Framework/Lumberjack.xcworkspace -scheme 'iOS Tests' -sdk iphonesimulator -arch i386 test
   - xctool -workspace Framework/Lumberjack.xcworkspace -scheme 'OS X Tests' test
Reply all
Reply to author
Forward
0 new messages