<div dir="ltr">Hi all,<br><br>I'm trying to compile for iOS + Simulator. My current configure arguments for my simulator builds look like:<br><br>./configure --enable-float-approx --disable-shared --enable-static --with-pic --disable-extra-programs --disable-doc --host=i386-apple-darwin_ios \<br>      LDFLAGS="$LDFLAGS -fPIE -miphoneos-version-min=${MIN_IOS_VERSION} -L${BUILD_DIR}/opus/lib" \<br>      CFLAGS="$CFLAGS -arch i386 ${OPT_CFLAGS} -fPIE -miphoneos-version-min=${MIN_IOS_VERSION} -I${BUILD_DIR}/opus/include -isysroot ${DEVELOPER}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator${IOS_SDK_VERSION}.sdk"<br><br>Then:<br><br>make -j4<br>make install<br><br>OPUS does compile, but the project that I include the static library in throws a bunch of warnings that look like:<br><br>URGENT: building for iOS simulator, but linking in object file (libOpus.a(bands.o)) built for OSX. Note: This will be an error in the future.<br><br>So it seems clearly I'm missing something ot force it into compiling for iOS. Does anyone know of anything obvious that I'm missing here? Thanks in advance.<br><br>Best,<br>Colin<br></div>