hyperoslo / Lightbox

:milky_way: A convenient and easy to use image viewer for your iOS app
https://www.hyper.no
Other
1.64k stars 329 forks source link

Carthage build error #165

Closed nitrag closed 4 years ago

nitrag commented 6 years ago
*** Checking out Lightbox at "b26ee135bc89494a8cf9c7c30dbea2c42589c03a"
*** xcodebuild output can be found in ...
*** Building scheme "Hue-iOS" in Hue.xcodeproj
*** Building scheme "Lightbox-iOS" in Lightbox.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /*/Carthage/Checkouts/Lightbox/Lightbox.xcodeproj -scheme Lightbox-iOS -configuration Release -derivedDataPath /Users/*/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/Lightbox/1.0.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath ./ SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /*/Carthage/Checkouts/Lightbox)
/*/Carthage/Checkouts/Lightbox/Source/LightboxConfig.swift:2:8: error: module file's minimum deployment target is ios9.0 v9.0: /*/Carthage/Checkouts/Lightbox/Carthage/Build/iOS/Hue.framework/Modules/Hue.swiftmodule/arm64.swiftmodule
import Hue
       ^

** ARCHIVE FAILED **

The following build commands failed:
        CompileSwift normal armv7
        CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
        CompileSwift normal arm64
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(4 failures)

XCode 9.1

onmyway133 commented 6 years ago

@nitrag Hi, the log says "module file's minimum deployment target is ios9.0 v9.0". Can you check your minimum deployment target?

wousser commented 6 years ago

I've set the minimum deployment target to ios1.0 and can reproduce this error.

wousser commented 6 years ago

If you add all dependencies in your Cartfile the build will succeed.

#Lightbox
github "hyperoslo/Cache"
github "hyperoslo/Hue"
github "hyperoslo/Imaginary"
github "hyperoslo/Lightbox"
abbana commented 6 years ago

Hi,

thanks for responding.

I have copied the Source in my project, but still I have issues

2018-01-23 07:46:57.449890+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: Regional2)

2018-01-23 07:47:16.475952+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_None (client: Regional2)

2018-01-23 07:47:17.021001+0000 Regional2[2380:1173405] [Default] MPMediaControlsRemoteViewController Dismissing because view service terminated

Only way to make this working is to use Cartfile?

On Sun, Jan 21, 2018 at 5:27 AM, wousser notifications@github.com wrote:

If you add all dependencies in your Cartfile the build will succeed.

Lightbox github "hyperoslo/Cache" github "hyperoslo/Hue" github

"hyperoslo/Imaginary" github "hyperoslo/Lightbox"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hyperoslo/Lightbox/issues/165#issuecomment-359225076, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae9cZ0pbKoyIonMezZNIZDvW9yKRgWDLks5tMsq4gaJpZM4Qym_Q .

abbana commented 6 years ago

2018-01-23 08:37:11.654455+0000 Regional2[5965:3576191] [ImageManager] Unable to load image data, /var/mobile/Media/DCIM/102APPLE/IMG_2550.JPG

On Tue, Jan 23, 2018 at 7:56 AM, Carlo Zanelli carlo.zanelli@gmail.com wrote:

Hi,

thanks for responding.

I have copied the Source in my project, but still I have issues

2018-01-23 07:46:57.449890+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: Regional2)

2018-01-23 07:47:16.475952+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_None (client: Regional2)

2018-01-23 07:47:17.021001+0000 Regional2[2380:1173405] [Default] MPMediaControlsRemoteViewController Dismissing because view service terminated

Only way to make this working is to use Cartfile?

On Sun, Jan 21, 2018 at 5:27 AM, wousser notifications@github.com wrote:

If you add all dependencies in your Cartfile the build will succeed.

Lightbox github "hyperoslo/Cache" github "hyperoslo/Hue" github

"hyperoslo/Imaginary" github "hyperoslo/Lightbox"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hyperoslo/Lightbox/issues/165#issuecomment-359225076, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae9cZ0pbKoyIonMezZNIZDvW9yKRgWDLks5tMsq4gaJpZM4Qym_Q .

abbana commented 6 years ago

First message received when I capture a new picture. Second when I pic one from the iamges folder.

In both cases the images are not passed to the method who has invoked the picker.

On Tue, Jan 23, 2018 at 8:44 AM, Carlo Zanelli carlo.zanelli@gmail.com wrote:

2018-01-23 08:37:11.654455+0000 Regional2[5965:3576191] [ImageManager] Unable to load image data, /var/mobile/Media/DCIM/102APPLE/IMG_2550.JPG

On Tue, Jan 23, 2018 at 7:56 AM, Carlo Zanelli carlo.zanelli@gmail.com wrote:

Hi,

thanks for responding.

I have copied the Source in my project, but still I have issues

2018-01-23 07:46:57.449890+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: Regional2)

2018-01-23 07:47:16.475952+0000 Regional2[2380:1173405] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_None (client: Regional2)

2018-01-23 07:47:17.021001+0000 Regional2[2380:1173405] [Default] MPMediaControlsRemoteViewController Dismissing because view service terminated

Only way to make this working is to use Cartfile?

On Sun, Jan 21, 2018 at 5:27 AM, wousser notifications@github.com wrote:

If you add all dependencies in your Cartfile the build will succeed.

Lightbox github "hyperoslo/Cache" github "hyperoslo/Hue" github

"hyperoslo/Imaginary" github "hyperoslo/Lightbox"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hyperoslo/Lightbox/issues/165#issuecomment-359225076, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae9cZ0pbKoyIonMezZNIZDvW9yKRgWDLks5tMsq4gaJpZM4Qym_Q .

onmyway133 commented 6 years ago

@abbana @nitrag Hi, can you check the new release https://github.com/hyperoslo/Lightbox/releases/tag/2.3.0 ?