It's a bit vague to say "doesn't work"
However, your me.framework needs to be prepared before packaging with adt. It needs to have any symlinks removed.
eg
cp -R -L "$pathtome/../../native_library/$PROJECT_NAME/Build/Products/Release/me.framework" "$pathtome/platforms/mac/release"
mv "$pathtome/platforms/mac/release/me.framework/Versions/A/Frameworks" "$pathtome/platforms/mac/release/$me.framework"
rm -r "$pathtome/platforms/mac/release/me.framework/Versions"
#Run the build command.
echo "Building Release."
"$AIR_SDK"/bin/adt -package \
-target ane "$pathtome/FreSwift.ane" "$pathtome/extension.xml" \
-swc "$pathtome/FreSwift.swc" \
-platform MacOS-x86-64 -C "$pathtome/platforms/mac/release" "me.framework" "library.swf" \
-platform default -C "$pathtome/platforms/default" "library.swf"