Skip to content

Add cover image bug on Dev-ios / ForemWebView-iOS local build #243

Open
@leewynne

Description

@leewynne

Describe the bug

When building locally and using testflight, the Dev-ios app crashes when adding a cover image with the error below.

fatalError(“unable to find bundle named YPImagePicker_YPImagePicker”)

To Reproduce

Clone DEV-iOS
Run ./carthage.sh update --no-use-binaries --platform iOS --cache-builds
Let it fail on the time out
Open ForemWebView from the Checkouts folder in XCode
Let it resolve the dependencies on its own successfully
Run CMD+b to build
Let it build successfully then quit Xcode
Run ./carthage.sh update --no-use-binaries --platform iOS --cache-builds again
Open up the project fully in XCode and run in a simulator to test
Expected behavior

Image uploads without error and the cover image is then displayed

Smartphone (please complete the following information):

Device: Iphone 10, 11 & 12
OS, version: iOS 14 and any iOS build on simulator
Additional context

This isn't an issue with the production app, it is something that I can consistently replicate when attempting to build locally and submitting to the apps store. The error occurs with a clean xcode installation and fresh repo pull.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions