Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode error related to Lipo is thrown from SQLite.swift dependency when building text-popover-macOS for any configuration other than Debug #4

Open
liweiyap opened this issue Feb 9, 2021 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@liweiyap
Copy link
Owner

liweiyap commented Feb 9, 2021

I am able to build text-popover-macOS in Debug mode.

However, when building for Release mode (Product > Scheme > Edit scheme), or when building for profiling (Product > Profile), I get the following Xcode error:

A shell task (/usr/bin/xcrun lipo /Users/leewayleaf/Library/Developer/Xcode/DerivedData/text-popover-macOS-bvpjdbghfxdoblbiffqnwkantfbe/Build/Products/Release/SQLite.framework.dSYM/Contents/Resources/DWARF/SQLite -output /Users/leewayleaf/Library/Developer/Xcode/DerivedData/text-popover-macOS-bvpjdbghfxdoblbiffqnwkantfbe/Build/Products/Release/SQLite.framework.dSYM/Contents/Resources/DWARF/SQLite) failed with exit code 1:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: one of -create, -thin <arch_type>, -extract <arch_type>, -remove <arch_type>, -replace <arch_type> <file_name>, -verify_arch <arch_type> ... , -archs, -info, or -detailed_info must be specified
usage: lipo <input_file> <command> [<options> ...]
  command is one of:
    -archs
    -create
    -detailed_info
    -extract <arch_type> [-extract <arch_type> ...]
    -extract_family <arch_type> [-extract_family <arch_type> ...]
    -info
    -remove <arch_type> [-remove <arch_type> ...]
    -replace <arch_type> <file_name> [-replace <arch_type> <file_name> ...]
    -thin <arch_type>
    -verify_arch <arch_type> ...
  options are one or more of:
    -arch <arch_type> <input_file>
    -hideARM64
    -output <output_file>
    -segalign <arch_type> <alignment>
@liweiyap liweiyap added bug Something isn't working help wanted Extra attention is needed labels Feb 9, 2021
@liweiyap liweiyap self-assigned this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant