File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ if [[ ! -d "${packagepath}/libs/${os}/universal" ]]; then
7474 mkdir " ${packagepath} /libs/${os} /universal"
7575 echo " Creating universal libraries..."
7676 for lib in " ${packagepath} /libs/${os} /${architectures[0]} " /* .a; do
77- libname=$( basename ${lib} )
78- xcrun lipo " ${packagepath} /libs/${os} " /* /" ${libname} " -create -output " ${packagepath} /libs/${os} /universal/${libname} "
77+ libname=$( basename ${lib} )
78+ xcrun lipo " ${packagepath} /libs/${os} " /* /" ${libname} " -create -output " ${packagepath} /libs/${os} /universal/${libname} "
7979 done
8080
8181 # Done, remove old library backups.
@@ -97,13 +97,16 @@ for arch in universal ${architectures[*]}; do
9797 if [[ " ${framework} " == " firebase_app" ]]; then
9898 framework=" firebase"
9999 add_headers=1
100+ echo " Need to add extra Headers"
100101 fi
101102 framework_dir=" ${packagepath} /frameworks/${os} /${arch} /${framework} .framework"
102103 mkdir -p " ${framework_dir} "
103104 cp -f " ${library} " " ${framework_dir} /${framework} "
104105 if [[ ${add_headers} -eq 1 ]]; then
106+ echo " Adding extra Headers to framework ${framework_dir} "
105107 mkdir " ${framework_dir} /Headers"
106108 cp -af " ${includepath} /firebase/" * " ${framework_dir} /Headers/"
109+ cp -af " ${packagepath} /include/firebase/" * " ${framework_dir} /Headers/"
107110 fi
108111 done
109112done
You can’t perform that action at this time.
0 commit comments