این صفحه، راهنمایی برای عیبیابی و پاسخ به سوالات متداول در مورد توزیع و آزمایش برنامهها با استفاده از App Distribution ارائه میدهد.
توزیع برنامهها
از نکات زیر برای عیبیابی مشکلاتی که ممکن است هنگام توزیع برنامهها به آزمایشکنندگان خود با آنها مواجه شوید، استفاده کنید.
هنگام آپلود برنامه، ممکن است با این خطا مواجه شوید:
«ما نتوانستیم ایمیل تماس برای app <app-id> پیدا کنیم. لطفاً برای تنظیم آن، به App Distribution در کنسول Firebase مراجعه کنید.»
در صورت وجود، یک ایمیل تماس در کنسول Firebase تنظیم کنید. اگر مشکل همچنان ادامه داشت، با پشتیبانی Firebase تماس بگیرید.
اگر در حین آمادهسازی، مرتباً با خطاهای ۴۰۰، ۴۰۹ یا ۵۰۰ مواجه شدید، با پشتیبانی Firebase تماس بگیرید. شماره پروژه Firebase و شناسه برنامه خود را به پشتیبانی ارائه دهید.
در زیر نمونهای از پاسخ شبکه مرورگر آمده است:
{
"status": "IN_PROGRESS",
"message": "There was an error processing your
distribution. Ensure you are uploading a valid IPA or APK and try again."
}
برای حل این مشکل، مراحل زیر را دنبال کنید:
اندازه IPA را بررسی کنید. حداکثر اندازه فایل برای همه فایلهای باینری ۲۰۴۸ مگابایت است که کمی بیش از ۲ گیگابایت است.
اگر اندازه IPA در محدوده اندازه فایل است و قابل تکثیر است، این مراحل را دنبال کنید:
فایل
Info.plistخود را بررسی کنید و تأیید کنید که آیاCFBundleDisplayNameحاوی جداکنندههای<array>است یا خیر.جداکنندههای
<array>را حذف کنید و برنامه خود را از نو بسازید. آپلود باید با موفقیت انجام شود.اگر هنوز با مشکل مواجه هستید، با پشتیبانی Firebase تماس بگیرید.
اگر اندازه IPA از حد مجاز اندازه فایل بیشتر است، تغییرات لازم را برای کاهش اندازه فایل انجام دهید.
اگر کاهش حجم فایل IPA مشکل را حل نکرد، با پشتیبانی Firebase تماس بگیرید و در مورد استفاده از Testflight سوال کنید.
نصب و آزمایش برنامهها
از نکات زیر برای عیبیابی مشکلاتی که ممکن است آزمایشکنندگان شما هنگام نصب و آزمایش برنامههای شما با آن مواجه شوند، استفاده کنید.
وقتی کاربری یک حساب گوگل ایجاد میکند، بهطور خودکار یک آدرس جیمیل دریافت میکند.
اگر آزمایشکننده آدرس Google Workspace یا Gmail ندارد، یا اگر ترجیح میدهد از آدرس ایمیل دیگری برای ورود به سیستم استفاده کند، از آزمایشکننده بخواهید یک آدرس ایمیل غیر Gmail را به حساب کاربری خود متصل کند و از آن ایمیل برای ورود به سیستم استفاده کند.
هنگام انتخاب ایمیل جایگزین، آزمایشکننده باید این دستورالعملها را دنبال کند:
- از آدرس جیمیل استفاده نکنید.
- از آدرس ایمیلی که قبلاً به یک حساب گوگل دیگر مرتبط است استفاده نکنید.
- به یاد داشته باشید هنگام ورود به سیستم با این آدرس ایمیل، از رمز عبور حساب گوگل خود استفاده کنید.
برای اطلاعات بیشتر، به «ورود به حساب گوگل خود با آدرس ایمیل دیگر» مراجعه کنید.
اگر آزمایشکننده دعوتنامه ایمیلی را با آدرس ایمیلی متفاوت از آنچه دعوتنامه به آن ارسال شده بود، بپذیرد، ممکن است آزمایشکننده نتواند برنامهها یا نسخههای درست را ببیند.
ایمیلی که توسعهدهنده برای آن دعوتنامه میفرستد و به نسخههای جدید اضافه میکند (ایمیل A) میتواند با ایمیلی که آزمایشکننده برای پذیرش دعوتنامه استفاده میکند (ایمیل B) متفاوت باشد. این کار در پشت صحنه یک لینک ایجاد میکند. هر زمان که ایمیل A به نسخههای جدید اضافه میشود، در واقع ایمیل B است که به آنها دسترسی پیدا میکند.
اگر آزمایشکننده دعوتنامه ایمیلی را با آدرس ایمیل دیگری پذیرفت، برای حل مشکل این مراحل را دنبال کنید:
تستر را از بخش « مشاهده همه تسترها» در تب «تستکنندگان و گروهها» در صفحه App Distribution » کنسول Firebase حذف کنید. دعوتنامههای موجود حذف میشوند.
دوباره از تستر دعوت کنید تا برنامه شما را آزمایش کند. تستر باید یک ایمیل دعوت دریافت کند.
مطمئن شوید که آزمایشکننده دعوتنامه را با همان آدرس ایمیل قبول میکند.
اگر یکی از موارد زیر رخ دهد، ممکن است آزمایشکنندگان اعلانهای ایمیلی دریافت نکنند:
اعلانهای ایمیل به پوشههای هرزنامه ارسال میشوند.
فیلترهای ایمیل تنظیم شدهاند.
دعوتنامه به یک حساب ایمیل ارسال شده است، اما آزمایشکننده با یک حساب ایمیل دیگر آن را پذیرفته است. آزمایشکننده ایمیلهای انتشار جدید را برای حساب ایمیلی که دعوتنامه در ابتدا به آن ارسال شده بود، دریافت میکند.
آزمایشکننده قبلاً دعوت شده بود اما دعوت اولیه را نپذیرفت. اگر آزمایشکننده به نسخههای بعدی اضافه شود، App Distribution به طور خودکار اعلانهای انتشار را برای آن آزمایشکننده ارسال نمیکند زیرا آزمایشکننده دعوت اولیه را نپذیرفته است.
راه حل ۱
از آزمایشکننده بخواهید پوشه هرزنامه و هرگونه فیلتر ایمیلی که در سرویس ایمیل خود تنظیم کرده است را بررسی کند.
اگر آزمایشکننده اشتراک خود را از ایمیلها لغو کرد، از آزمایشکننده بخواهید موارد زیر را انجام دهد:
- ایمیلی را پیدا کنید که آزمایشکننده قبلاً از برنامه دریافت کرده است.
- روی مدیریت تنظیمات ایمیل در پایین کلیک کنید و روی اجازه دادن به ایمیلها برای اشتراک مجدد کلیک کنید.
راه حل ۲
اگر آزمایشکننده اهمیتی به دریافت اعلانهای ایمیل نمیدهد و فقط میخواهد بتواند دعوتنامههای برنامه را بپذیرد، میتواند دعوتنامههای در انتظار برنامه را مستقیماً در کلیپ وب Firebase App Distribution مشاهده کند: appdistribution.firebase.google.com .
راه حل ۳
تستر را از بخش « مشاهده همه تسترها» در تب «تسترها و گروهها» در صفحه App Distribution در کنسول Firebase حذف کنید. این عمل دعوتنامههای موجود را حذف میکند.
دوباره از آزمایشکننده دعوت کنید تا برنامه شما را آزمایش کند. آزمایشکننده باید یک ایمیل دعوت دریافت کند. مطمئن شوید که آزمایشکننده دعوت را با همان آدرس ایمیلی که دعوتنامه به آن ارسال شده است، میپذیرد.
خطای Untrusted Enterprise Developer در صورتی ظاهر میشود که قبل از باز کردن برنامه، به گواهی توسعهدهنده در دستگاه آزمایشی اعتماد نکرده باشید. در برنامه تنظیمات > صفحه Profiles & Device Management ، نام توسعهدهنده برنامه را انتخاب کرده و به آن اعتماد کنید.
خطای «حالت توسعهدهنده مورد نیاز است» زمانی ظاهر میشود که سعی میکنید یک برنامه iOS با مجوز موقت را در iOS 16 یا بالاتر بدون فعال کردن حالت توسعهدهنده اجرا کنید.
برای فعال کردن حالت توسعهدهنده و رفع این خطا، مراحل زیر را دنبال کنید:
- در آیفون خود، برنامه تنظیمات (Settings) را باز کنید و سپس روی حریم خصوصی و امنیت (Privacy & Security) ضربه بزنید.
- به پایین اسکرول کنید تا به بخش امنیت (Security) برسید و روی حالت توسعهدهنده (Developer Mode) ضربه بزنید.
- روی نوار لغزنده حالت توسعهدهنده ضربه بزنید.
- روی راهاندازی مجدد ضربه بزنید.
- پس از راهاندازی مجدد دستگاه، قفل دستگاه را باز کنید. کادر محاورهای «حالت توسعهدهنده را فعال کنید؟» ظاهر میشود.
- روی روشن کردن (Turn On) ضربه بزنید. اکنون میتوانید برنامه خود را اجرا کرده و شروع به آزمایش کنید.
اگر در حال نصب یک توزیع Ad Hoc هستید، این پیام زمانی ظاهر میشود که توسعهدهنده هنوز برنامه خود را برای اجرا روی دستگاه آزمایشی شما پیکربندی نکرده است. برای اینکه برنامه در دسترس شما قرار گیرد، توسعهدهنده باید دستورالعملهای موجود در بخش «ثبت دستگاههای اضافی» را تکمیل کند.
اگر حساب گوگل شما به برنامه آزمایشی که قبلاً نصب کردهاید (یا دعوتنامهاش را پذیرفتهاید) دسترسی ندارد، احتمالاً با حساب گوگل اشتباهی وارد سیستم شدهاید. برنامههایی که به آنها دسترسی دارید با حساب گوگلی که هنگام اولین پذیرش دعوت برای آزمایش برنامه استفاده کردهاید، مرتبط هستند. با ورود به حساب گوگلی که قبلاً برای پذیرش دعوتنامه استفاده کردهاید، دوباره امتحان کنید.
وقتی با خطای ۴۰۳ مواجه میشوید، به این معنی است که حسابی که استفاده میکنید مجوز نصب و آزمایش برنامهها را ندارد. دسترسی توسط سرپرست دامنه حساب شما در Google Workspace تعیین میشود.
اگر معتقدید که باید مجوز نصب و آزمایش برنامهها را داشته باشید، از مدیر حساب Google Workspace خود بخواهید تنظیمات حساب شما را تغییر دهد. مدیر شما باید دستورالعملهای موجود در «مدیریت دسترسی به سرویسهایی که به صورت جداگانه کنترل نمیشوند» را دنبال کند.
اگر چندین حساب کاربری دارید، سعی کنید با یک حساب کاربری دیگر که محدودیت نصب و آزمایش برنامهها را ندارد، وارد شوید.
فعال کردن هشدارهای درون برنامهای با استفاده از SDK App Distribution iOS
از نکات زیر برای عیبیابی مشکلاتی که شامل فعال کردن هشدارهای ساخت جدید درون برنامهای با استفاده از App Distribution iOS SDK میشود، استفاده کنید.
اگر قبلاً SDK iOS App Distribution در برنامه خود تنظیم کردهاید و آزمایشکنندگان شما هشدارهای درون برنامهای دریافت نمیکنند، بررسی کنید که برنامه شما نسخههای جدید را دریافت میکند:
حالت اشکالزدایی (debug mode) را در برنامه خود فعال کنید. برای یادگیری نحوهی انجام این کار، به مستندات گوگل آنالیتیکس مراجعه کنید.
برنامه خود را در یک شبیهساز اجرا کنید و رشته "[Firebase/AppDistribution]" را جستجو کنید.
بررسی کنید که آزمایشکننده به نسخه جدید دسترسی داشته باشد:
اگر یک شیء انتشار معتبر برگردانده شود، احتمالاً مشکلی در چرخه حیات View Controller وجود دارد که در آن کادر محاورهای هشدار قبل از نمایش View بارگذاری میشود.
اگر هیچ نسخهای برگردانده نشود، ممکن است تستر شما هنوز با نسخه جدید مرتبط نشده باشد. در داشبورد App Distribution کنسول Firebase ، مطمئن شوید که تستر شما در توزیع ساخت شما گنجانده شده و در حالت پذیرفته شده قرار دارد.
اگر آزمایشکننده شما هنوز بهروزرسانیها را دریافت نمیکند، از او بخواهید نکات زیر را دنبال کند تا مطمئن شوید که دعوت برای آزمایش برنامه شما را پذیرفته و دستگاه آزمایش خود را به درستی تنظیم کرده است:
در دستگاه آزمایشی، وارد کلیپ وب Firebase App Distribution شوید. به یاد داشته باشید که حساب گوگلی را که برای اولین بار هنگام پذیرش دعوت برای آزمایش برنامه استفاده کردید، انتخاب کنید.
مطمئن شوید که نسخه جدید برنامه در کلیپ وب موجود است.
به طور پیشفرض، آزمایشکنندگان شما فقط باید یک بار وارد حساب گوگل خود شوند تا هشدارهای ساخت جدید را فعال کرده و ساختهای جدید را نصب کنند. اگر آزمایشکنندگان شما پس از بستن و باز کردن مجدد برنامه، دوباره از آنها خواسته میشود وارد سیستم شوند، این نکات را دنبال کنید تا مطمئن شوید پیکربندی App Distribution شما به درستی تنظیم شده است:
بررسی کنید که آیا API مربوط به آزمایشکنندگان برنامهی Firebase را فعال کردهاید یا خیر. برای اطلاعات بیشتر، به بخش «فعال کردن API آزمایشکنندهی توزیع برنامه» مراجعه کنید.
در بخش محدودیتهای کلیدی (Key restrictions )، مطمئن شوید که API مربوط به Firebase App Testers در فهرست APIهای مجاز قرار دارد.
اگر معمولاً هنگام خروج از سیستم، UserDefaults را پاک میکنید، ممکن است وضعیت آزمایشگر خود را نیز پاک کنید. App Distribution پرچمی را ذخیره میکند که نشان میدهد آیا آزمایشگر شما قبلاً وارد برنامه شده است یا خیر. برای اطلاعات بیشتر، به مخزن GitHub مراجعه کنید.
سوالات متداول
Firebase App Distribution محدودیتهای تستر زیر را دارد:
حداکثر ۵۰۰ آزمایشکننده به یک پروژه Firebase اضافه کنید
حداکثر ۲۰۰ آزمایشکننده را به یک گروه App Distribution اضافه کنید
برای افزودن آزمایشکنندگان بیشتر، درخواست افزایش سقف بدون هزینه را بدهید.
آزمایشکنندگان 30 روز فرصت دارند تا دعوتنامه را برای آزمایش برنامه قبل از انقضا بپذیرند. وقتی 5 روز به انقضای دعوتنامه باقی مانده باشد، یک اعلان انقضا در کنسول Firebase در کنار آزمایشکننده در نسخه منتشر شده ظاهر میشود. دعوتنامه را میتوان با ارسال مجدد آن از طریق منوی کشویی در ردیف آزمایشکننده تمدید کرد.
به ثبت دستگاههای اضافی مراجعه کنید.
در صورت بروز یکی از شرایط زیر، نسخههای برنامه از App Distribution حذف میشوند:
- نسخه برنامه قدیمیتر از ۱۵۰ روز است.
- شما از محدودیت ۱۰۰۰ نسخه برنامه عبور کردهاید و نسخه برنامه قدیمیتر از ۱۰۰۰ نسخه اخیر برنامه است.
برای اطلاعات بیشتر، به App Distribution حداکثر از ۱۰۰۰ نسخه پشتیبانی میکند» مراجعه کنید.
پس از اینکه برنامه به محدودیت انقضای ۱۵۰ روزه یا محدودیت انتشار ۱۰۰۰ برنامه رسید یا از آن عبور کرد، نسخه از داشبورد App Distribution و برنامه وب تستر App Distribution حذف میشود. اگر تستر شما نسخه را نصب کرده باشد، نسخه محلی برنامه همچنان اجرا میشود.
برای اینکه نسخه آزمایشی برنامه مدت بیشتری در دسترس باشد، از یکی از توصیههای زیر استفاده کنید:
- قبل از اینکه نسخه برنامه منقضی شود یا از محدودیت انتشار فراتر رود، IPA را دانلود کرده و نسخه را از داشبورد App Distribution حذف کنید. سپس، IPA را به عنوان یک نسخه جدید در App Distribution دوباره بارگذاری کنید.
- نسخه را دانلود کنید و برای بایگانی طولانی مدت، آن را در Cloud Storage آپلود کنید.
نسخههای منتشر شده از برنامهها پس از ۱۵۰ روز منقضی میشوند
وقتی نسخهای از برنامه خود را در Firebase آپلود میکنید، این نسخه به مدت ۱۵۰ روز، از تاریخ آپلود، در داشبورد App Distribution ظاهر میشود. پس از آپلود نسخه، میتوانید آن را بین آزمایشکنندگان توزیع کنید که نسخه را از برنامه وب آزمایشکننده App Distribution روی دستگاه آزمایشی خود نصب میکنند.
وقتی ۳۰ روز از تاریخ انقضای انتشار گذشته باشد، یک اعلان انقضای انتشار برنامه در صفحه App Distribution کنسول Firebase و در برنامه وب تستر App Distribution ظاهر میشود.
App Distribution حداکثر از ۱۰۰۰ نسخه پشتیبانی میکند
App Distribution حداکثر ۱۰۰۰ نسخه برای هر برنامه را مجاز میداند. وقتی برنامه شما به محدودیت ۱۰۰۰ نسخه برسد، App Distribution به طور خودکار قدیمیترین نسخههای بالاتر از حد مجاز را حذف میکند.
اگر میخواهید نسخههای برنامه خود را به صورت دستی مدیریت کنید، از API REST App Distribution برای فهرست کردن و حذف نسخههای برنامه به صورت عمده استفاده کنید.
اگر سوالی دارید، با پشتیبانی فایربیس تماس بگیرید.
پروفایل فایربیس یک پروفایل پیکربندی است که به App Distribution اجازه میدهد:
با جمعآوری شناسه منحصر به فرد دستگاه (UDID) آن، دستگاه آزمایشی را ثبت کنید. اگر در حال آزمایش یک توزیع Ad Hoc هستید، Firebase ایمیلی را برای توسعهدهنده برنامه ارسال میکند که شامل UDID دستگاه آزمایشی به همراه دستورالعملهایی در مورد نحوه قرار دادن دستگاه در پروفایل تأمین برنامه است تا بتوان نسخه نهایی را روی دستگاه شما آزمایش کرد.
یک کلیپ وب Firebase App Distribution روی صفحه اصلی دستگاه خود نصب کنید. این کلیپ وب به شما امکان میدهد تمام برنامههای آزمایشی خود را در یک مکان نصب و دسترسی داشته باشید. نسخههای جدیدی که برای آزمایش از شما دعوت شدهاند، به طور خودکار به کلیپ وب اضافه میشوند.
برای کمک به نصب پروفایلهای پیکربندی در دستگاه iOS خود، به مستندات اپل مراجعه کنید.
اگر شما یک آزمایشکننده هستید، میتوانید با استفاده از کلیپ وب Firebase App Distribution که به طور خودکار هنگام نصب پروفایل Firebase به صفحه اصلی دستگاه آزمایشی شما اضافه میشود، به تمام برنامههای آزمایشی خود دسترسی داشته باشید. اگر در حال آزمایش یک توزیع Ad Hoc هستید، ابتدا باید قبل از آزمایش برنامه، پروفایل را نصب کنید .
اگر در حال آزمایش توزیع Enterprise هستید، میتوانید پروفایل را به صورت دستی نصب کنید:
اگر هنوز این کار را نکردهاید، وارد گوگل شوید و دعوت را بپذیرید.
در قسمت Test apps ، برنامهای را که میخواهید آزمایش کنید انتخاب کنید.
در بالا سمت راست صفحه برنامه، روی mobile_screen_share ضربه بزنید.
دستورالعملهای نمایش داده شده را برای نصب پروفایل Firebase دنبال کنید.
برای حذف حساب کاربری تستر App Distribution و دادههای مرتبط با آن، این مراحل را به ترتیب دنبال کنید:
به آدرس https://appdistribution.firebase.google.com مراجعه کنید و با حساب گوگل خود وارد شوید.
در بالا سمت راست، روی ( مدیریت حساب ) کلیک کنید
حذف حساب کاربری .
اختیاری: در مجوزهای حساب گوگل خود، دسترسی از Firebase App Distribution را لغو کنید. توجه داشته باشید که لغو دسترسی بدون حذف اولیه حساب App Distribution ، حساب تستر یا دادههای شما را حذف نمیکند .
این صفحه، راهنمایی برای عیبیابی و پاسخ به سوالات متداول در مورد توزیع و آزمایش برنامهها با استفاده از App Distribution ارائه میدهد.
توزیع برنامهها
از نکات زیر برای عیبیابی مشکلاتی که ممکن است هنگام توزیع برنامهها به آزمایشکنندگان خود با آنها مواجه شوید، استفاده کنید.
هنگام آپلود برنامه، ممکن است با این خطا مواجه شوید:
"We could not find a contact email for app <app-id> . Please visit App Distribution within the Firebase console to set one up."
Set a Contact Email in the Firebase console, if available. If the issue persists, contact Firebase Support .
If you repeatedly encounter errors 400, 409, or 500 during provisioning, contact Firebase Support . Provide Support with your Firebase project number and app identifier.
The following is an example of a browser network response:
{
"status": "IN_PROGRESS",
"message": "There was an error processing your
distribution. Ensure you are uploading a valid IPA or APK and try again."
}
برای حل این مشکل، مراحل زیر را دنبال کنید:
Verify the size of the IPA. The maximum file size limit for all binaries is 2048 MiB, which is a little over 2 GB.
If the IPA size is within the file size limit and is reproducible, follow these steps:
Check your
Info.plistfile and confirm whetherCFBundleDisplayNamecontains any<array>delimiters.Remove the
<array>delimiters and rebuild your app. The upload should succeed.If you are still experiencing issues, contact Firebase Support .
If the IPA size is over the file size limit, make any necessary changes to decrease the file size.
If decreasing the IPA file size doesn't resolve the issue, contact Firebase Support and ask about using Testflight .
Installing and testing apps
Use the following tips to troubleshoot issues that your testers might encounter when they install and test your apps.
When a user creates a Google account, they automatically receive a Gmail address.
If a tester doesn't have a Google Workspace or Gmail address, or if they would rather use another email address to sign in, ask the tester to link a non-Gmail email address to the account and use that email to sign in.
When choosing an alternate email, the tester must follow these guidelines:
- Don't use a Gmail address.
- Don't use an email address that's already linked to another Google account.
- Remember to use your Google Account password when signing in with this email address.
For more information, see Sign in to your Google Account with another email address .
If the tester accepted the email invitation with a different email address than the invite was sent to, the tester might not be able to see the right apps or builds.
The email that the developer sends invitations to and adds to new builds (Email A) can be different from the email that the tester uses to accept the invitation (Email B). This creates a link behind the scenes. Whenever Email A is added to new builds, it's actually Email B that's getting access.
If the tester accepted the email invitation with a different email address, follow these steps to resolve the issue:
Delete the tester from the View all testers section of the Testers & Groups tab in the App Distribution page of the Firebase console. Existing invitations are removed.
Re-invite the tester to test your app. The tester should receive an invitation email.
Make sure that the tester accepts the invitation with the same email address.
Testers might not receive email notifications if one of the following occurs:
Email notifications are sent to spam folders.
Email filters are set.
The invite was sent to one email account, but the tester accepted with a different email account. The tester receives new release emails for the email account to which the invitation was originally sent.
The tester was previously invited but did not accept the initial invitation. If the tester is added to subsequent releases, App Distribution won't automatically send release notifications to that tester because the tester didn't accept the initial invitation.
راه حل ۱
Ask the tester to check their spam folder and any email filters they set in their email service.
If the tester unsubscribed from the emails, ask the tester to do the following:
- Find an email that the tester previously received from the app.
- Click Manage email settings at the bottom and click Allow emails to resubscribe.
راه حل ۲
If the tester doesn't care about getting email notifications and just wants to be able to accept app invitations, they can view pending app invitations directly in the Firebase App Distribution web clip: appdistribution.firebase.google.com .
Solution 3
Delete the tester from the View all testers section of the Testers & Groups tab in the App Distribution page in the Firebase console. This action removes existing invitations.
Re-invite the tester to test your app. The tester should receive an invitation email. Make sure that the tester accepts the invitation with the same email address that the invitation was sent to.
The Untrusted Enterprise Developer error appears if you did not trust the developer certificate on the test device before opening the app. In the Settings app > Profiles & Device Management screen, select the app's developer name and trust it.
The Developer Mode Required error appears when you try to launch an ad hoc-provisioned iOS app on iOS 16 or later without first enabling Developer Mode.
To enable Developer Mode and resolve this error, follow these steps:
- On your iPhone, open the Settings app and then tap Privacy & Security .
- Scroll down to Security and tap Developer Mode .
- Tap the Developer Mode slider.
- روی راهاندازی مجدد ضربه بزنید.
- After the device restarts, unlock the device. The Turn on Developer Mode? dialog appears.
- Tap Turn On . You can now launch your app and start testing.
If you're installing an Ad Hoc distribution, this message appears when the developer hasn't yet configured their app to run on your test device. To make the app available to you, the developer must complete the instructions in Register additional devices .
If your Google account does not have access to a test app you previously installed (or accepted an invitation for), it's likely that you signed in to the wrong Google account. The apps to which you have access are associated with the Google account you used when you first accepted the invitation to test the app. Try again by signing in with the Google account you previously used to accept the invitation.
When you encounter a 403 error, this means that the account you're using doesn't have permission to install and test apps. Access is determined by the administrator of your account's domain in Google Workspace.
If you believe you should have permission to install and test apps, ask your Google Workspace account admin to change your account settings. Your admin should follow the instructions in Manage access to services that aren't controlled individually .
If you have multiple accounts, try logging in with a different account that is not restricted from installing and testing apps.
Enabling in-app alerts with the App Distribution iOS SDK
Use the following tips to troubleshoot issues that involve enabling in-app new build alerts using the App Distribution iOS SDK.
If you have already set up the App Distribution iOS SDK in your app and your testers aren't receiving in-app alerts, check to make sure your app is fetching new releases:
Enable debug mode in your app. To learn how, see the Google Analytics documentation .
Run your app in a simulator and search for the string "[Firebase/AppDistribution]".
Check that the tester has access to the new release:
If a valid release object is returned, it's likely that there's an issue in the View Controller lifecycle where the alert dialog is loaded before the View appears.
If no release is returned, your tester may not yet be associated with the new release. In the App Distribution dashboard of the Firebase console, make sure your tester is included in your build distribution and is in the Accepted state.
If your tester still isn't receiving updates, ask them to follow the tips below to make sure they accepted the invitation to test your app and that they set up their testing device properly:
On the test device, sign into the Firebase App Distribution web clip. Remember to select the Google account you first used when you accepted the invitation to test the app.
Make sure that the new app release is available in the web clip.
By default, your testers only need to sign in to their Google account once to enable new build alerts and to install new builds. If your testers are being prompted to sign in again after closing and re-opening your app, follow these tips to make sure your App Distribution configuration is set up properly:
Check to make sure you've enabled the Firebase App Testers API. For more information, see Enable the App Distribution Tester API .
Under Key restrictions , make sure that the Firebase App Testers API is included in the list of allowed APIs.
If you typically clear UserDefaults on signing out, you may be clearing your tester's state. App Distribution stores a flag that indicates whether your tester has already signed into the app. For more information, see the GitHub repository .
سوالات متداول
Firebase App Distribution has the following tester limits:
Add a maximum of 500 testers to a Firebase project
Add a maximum of 200 testers to an App Distribution group
To add more testers, request a no-cost limit increase .
Testers have 30 days to accept an invitation to test the app before it expires. When an invitation is 5 days from expiring, an expiration notice appears in the Firebase console next to the tester on a release. An invitation can be renewed by resending it via the drop-down menu on the tester row.
See Register additional devices .
App releases are removed from App Distribution if one of the following conditions occurs:
- The app release is older than 150 days.
- You exceed the 1,000 app release limit, and the app release is older than the 1,000 most recent app releases.
For more information, see App Distribution supports a maximum of 1,000 releases .
After the app reaches or exceeds the 150-day expiration limit or the 1,000 app release limit, the release is removed from the App Distribution dashboard and the App Distribution tester web app. If your tester has installed the release, the local version of the app continues to run.
To keep the app release available longer, use one of the following recommendations:
- Before the app release expires or exceeds the release limit, download the IPA and delete the release from the App Distribution dashboard. Then, re-upload the IPA as a new build to App Distribution .
- Download the release and upload it to Cloud Storage for long-term archiving.
App releases expire after 150 days
When you upload a release of your app to Firebase, the release appears in the App Distribution dashboard for 150 days, starting from the upload date. After you upload the release, you can distribute it to testers, who install the release from the App Distribution tester web app on their testing device.
When the release is 30 days from the expiration date, an app release expiration notification appears on your release in the App Distribution page of the Firebase console and in the App Distribution tester web app.
App Distribution supports a maximum of 1,000 releases
App Distribution allows a maximum of 1,000 releases per app. When your app reaches the 1,000 app release limit, App Distribution automatically deletes the oldest releases above the limit.
If you want to manually manage your app releases, use the App Distribution REST API to list and delete app releases in bulk.
If you have questions, contact Firebase Support .
The Firebase profile is a configuration profile that allows App Distribution to:
Register the test device by collecting the device's unique device ID (UDID). If you're testing an Ad Hoc distribution, Firebase sends the app developer an email that includes the test device's UDID, along with instructions on how to include the device in the app's provisioning profile so that the build can be tested on your device.
Install a Firebase App Distribution web clip to your device's home screen. The web clip allows you to install and access all your test apps in one place. New builds you're invited to test are automatically added to the web clip.
For help on installing configuration profiles on your iOS device, refer to Apple's documentation .
If you're a tester, you can access all of your test apps with the Firebase App Distribution web clip , which is automatically added to your test device's home screen when you install the Firebase profile. If you're testing an Ad Hoc distribution, you must first install the profile before you can test the app.
If you're testing an Enterprise distribution, you can manually install the profile:
If you haven't already, sign in to Google and accept the invitation.
Under Test apps , select the app you want to test.
In the top right of the app's page, tap mobile_screen_share .
Follow the instructions displayed to install the Firebase profile.
To delete your App Distribution tester account and its associated data, follow these steps in order:
Visit https://appdistribution.firebase.google.com and sign in with your Google account.
In the top-right, click ( Manage account )
Delete account .
Optional: In your Google account permissions , revoke access from Firebase App Distribution . Note that revoking access without first deleting your App Distribution account does not delete your tester account or data.