react-native-vkontakte-login
react-native-vkontakte-login copied to clipboard
iOS, stuck on Launch Screen RN 0.59.1
Does it work with RN 0.59.1?, I needed to update my RN0.56 to RN0.59.1, and was unable to make this library work on new RN version.
I have this script (Run Script - workaround to remove unused architecture), in my target -> build phases. Do not know if this is related or not as you have also .Framework
.
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
# This script loops through the frameworks embedded in the application and
# removes unused architectures.
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
do
FRAMEWORK_EXECUTABLE_NAME=$(defaults read "$FRAMEWORK/Info.plist" CFBundleExecutable)
FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"
EXTRACTED_ARCHS=()
for ARCH in $ARCHS
do
echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
done
echo "Merging extracted architectures: ${ARCHS}"
lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
rm "${EXTRACTED_ARCHS[@]}"
echo "Replacing original executable with thinned version"
rm "$FRAMEWORK_EXECUTABLE_PATH"
mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"
echo "Test"
done
What should I do?
This should work with 0.59 if you updated from previous versions. It works in my project that went through every react-native version from 0.47 to 0.59.
I have no idea how this script affects my module. Try disable your script and see if it works. Also, it's possible that you missed something while upgrading RN, because direct upgrade from 0.56 is a lot of changes.