mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
1. Aligns the project structure of Jitsi Meet SDK for iOS with that for Android for better comprehension. 2. The command `react-native run-ios` uses the last Xcode project or workspace in the list of these sorted in alphabetical order. Which limits our freedom in naming. Thus having only an Xcode project in the root directory of the iOS project structure gives us back the freedom in naming. 3. Allows the Podspec to work for the app project in addition to the sdk project because we need Crashlytics in the app which is integrated via Cocoapods as well. 4. Further removes references to JitsiKit in the source code for the sake of consistent naming.
17 lines
531 B
Bash
Executable File
17 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script is executed from Xcode to start the React packager for Debug
|
|
# targets.
|
|
|
|
|
|
if [[ "$CONFIGURATION" = "Debug" ]]; then
|
|
if nc -w 5 -z localhost 8081 ; then
|
|
if ! curl -s "http://localhost:8081/status" | grep -q "packager-status:running" ; then
|
|
echo "Port 8081 already in use, packager is either not running or not running correctly"
|
|
exit 2
|
|
fi
|
|
else
|
|
open "$SRCROOT/../../node_modules/react-native/packager/launchPackager.command" || echo "Can't start packager automatically"
|
|
fi
|
|
fi
|