Giter Site home page Giter Site logo

wuqiong / mp3lame-for-ios Goto Github PK

View Code? Open in Web Editor NEW
187.0 7.0 64.0 4.66 MB

mp3lame-for-iOS framework build script,support armv7, armv7s, arm64 simulator:x86_64,i386 and bitcode

License: GNU General Public License v2.0

Shell 4.57% C 87.65% Ruby 1.35% Objective-C 6.44%

mp3lame-for-ios's Introduction

#mp3lame-for-iOS Framework build script

Support OS/Archs: iphoneos:armv7, armv7s, arm64 simulator:x86_64,i386

##Usage:

just runs the commands in the shell:

git clone https://github.com/wuqiong/mp3lame-for-iOS.git
cd mp3lame-for-iOS
./build-lame-framework.sh

or

pod "mp3lame-for-ios"

wait a cup of tea, it builded the ==lame.framework== with the five architectures in the current directory. that' done! go coding and enjoy mp3-audio-encoding in iOS projects.

mp3lame-for-ios's People

Contributors

sipdar avatar wuqiong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mp3lame-for-ios's Issues

Must enable bitcode

I have the following error:

ld: '/Path/To/Project/Pods/mp3lame-for-ios/lame.framework/lame(lame.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How to solve it?

cocoa pods

I see a pull request that is to make this work with cocoapods. Any reason that has not been merged? that would be awesome if it were working.

CRASH

Ảnh chụp Màn hình 2021-03-31 lúc 00 19 44

can u help? try catch not working, still crash app

示例

请问有在iOS中使用lame来将m4a文件转为mp3的代码示例吗?
在网上找了很多,专为mp3后啥都听不见。

XCode 10 Unable to import

I tried drag and drop the framework
I tried pod install
And in the end i am unable to import it..

Framework is not working.

Following is my Logs on Terminal.

pc5:mp3lame-for-iOS pc5$ ./build-lame-framework.sh
building arm64...
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-apple-darwin15.5.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /Users/pc5/Desktop/Lame/mp3lame-for-iOS/lame-3.99.5/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for arm-apple-darwin-gcc... xcrun -sdk iphoneos clang -arch arm64
checking whether the C compiler works... no
configure: error: in `/Users/pc5/Desktop/Lame/mp3lame-for-iOS/.scratch-lame/arm64':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `install'.  Stop.
building armv7s...
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-apple-darwin15.5.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /Users/pc5/Desktop/Lame/mp3lame-for-iOS/lame-3.99.5/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for arm-apple-darwin-gcc... xcrun -sdk iphoneos clang -arch armv7s
checking whether the C compiler works... no
configure: error: in `/Users/pc5/Desktop/Lame/mp3lame-for-iOS/.scratch-lame/armv7s':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `install'.  Stop.
building x86_64...
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-apple-darwin15.5.0
checking host system type... x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /Users/pc5/Desktop/Lame/mp3lame-for-iOS/lame-3.99.5/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-apple-darwin-gcc... xcrun -sdk iphonesimulator clang -arch x86_64
checking whether the C compiler works... no
configure: error: in `/Users/pc5/Desktop/Lame/mp3lame-for-iOS/.scratch-lame/x86_64':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `install'.  Stop.
building i386...
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-apple-darwin15.5.0
checking host system type... i386-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i386-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /Users/pc5/Desktop/Lame/mp3lame-for-iOS/lame-3.99.5/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i386-apple-darwin-gcc... xcrun -sdk iphonesimulator clang -arch i386
checking whether the C compiler works... no
configure: error: in `/Users/pc5/Desktop/Lame/mp3lame-for-iOS/.scratch-lame/i386':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `install'.  Stop.
building armv7...
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-apple-darwin15.5.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /Users/pc5/Desktop/Lame/mp3lame-for-iOS/lame-3.99.5/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for arm-apple-darwin-gcc... xcrun -sdk iphoneos clang -arch armv7
checking whether the C compiler works... no
configure: error: in `/Users/pc5/Desktop/Lame/mp3lame-for-iOS/.scratch-lame/armv7':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No rule to make target `install'.  Stop.
building fat binaries...
./build-lame-framework.sh: line 112: cd: /Users/pc5/Desktop/Lame/mp3lame-for-iOS/.thin-lame/arm64/lib: No such file or directory
find: /Users/pc5/Desktop/Lame/mp3lame-for-iOS/.thin-lame: No such file or directory
error: /Library/Developer/CommandLineTools/usr/bin/lipo: no input files specified
fatal error: /Library/Developer/CommandLineTools/usr/bin/lipo: Usage: /Library/Developer/CommandLineTools/usr/bin/lipo [input_file] ... [-arch <arch_type> input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank <arch_type>] [-thin <arch_type>] [-remove <arch_type>] ... [-extract <arch_type>] ... [-extract_family <arch_type>] ... [-verify_arch <arch_type> ...] [-replace <arch_type> <file_name>] ...
cp: /Users/pc5/Desktop/Lame/mp3lame-for-iOS/.thin-lame/arm64/include: No such file or directory
building lame.framework...
cp: .fat-lame/include/lame/*: No such file or directory
cp: .fat-lame/lib/libmp3lame.a: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.